Table: | For selecting the transformation type. |
+ combination: | For the ControlFlag parameter |
+ combination: | For M_MAGNITUDE |
+ combination: | For specifying the transform characteristics |
MIL_ID SrcImageRBufId, | //in |
MIL_ID SrcImageIBufId, | //in |
MIL_ID DstImageRBufId, | //in |
MIL_ID DstImageIBufId, | //in |
MIL_INT64 TransformType, | //in |
MIL_INT64 ControlFlag | //in |
This function performs a forward or reverse FFT or DCT transformation on an image. It also perfoms a cartesian-to-polar or polar-to-cartesian point-to-point coordinates transformation.
Specifies the identifier of the source buffer for the real component of the image.
See the Parameter associations section for possible values that can be specified.
Specifies the identifier of the source buffer for the imaginary component of the image.
See the Parameter associations section for possible values that can be specified.
Specifies the identifier of the destination buffer for the real component of the image.
This parameter can be set to M_NULL. See the parameter association table for more details.
See the Parameter associations section for possible values that can be specified.
Specifies the identifier of the destination buffer for the imaginary component of the image.
This parameter can be set to M_NULL. See the parameter association table for more details.
See the Parameter associations section for possible values that can be specified.
Specifies the type of transform to perform on the image.
See the Parameter associations section for possible values that can be specified.
Specifies if the transform is a forward transform or a reverse transform.
See the Parameter associations section for possible values that can be specified.
The table below lists possible values for the SrcImageRBufId, SrcImageIBufId, DstImageRBufId, DstImageIBufId, TransformType, and ControlFlag parameters.
For selecting the transformation type.
|
|||||||||||||||||||||||||||||||||||||||
TransformType | Description | MIL system-specific tooltip (‡) |
|||||||||||||||||||||||||||||||||||||
ControlFlag | |||||||||||||||||||||||||||||||||||||||
SrcImageRBufId | |||||||||||||||||||||||||||||||||||||||
SrcImageIBufId | |||||||||||||||||||||||||||||||||||||||
DstImageRBufId | |||||||||||||||||||||||||||||||||||||||
DstImageIBufId | |||||||||||||||||||||||||||||||||||||||
M_DCT8X8 |
Performs a discrete cosine transform on each 8x8 pixel block in the image. (summarize)Performs a discrete cosine transform on each 8x8 pixel block in the image. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_DEFAULT |
Same as M_FORWARD. (summarize)Same as M_FORWARD. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_FORWARD + |
Performs a forward transform on the image. (summarize)Performs a forward transform on the image. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
SrcImageRBufId |
Specifies the identifier of the source buffer for the real component of the image in the spatial domain. The width and height of the source buffer must be a multiple of 8. This image must not have a region of interest (ROI) associated with it. Using an image with an ROI will cause an error. (summarize)Specifies the identifier of the source buffer for the real component of the image in the spatial domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
8-bit signed/unsigned image buffer ID |
Performs calculations in fixed-point format and returns to the destinations in 23.9 fixed point format. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
16-bit signed/unsigned image buffer ID |
Performs calculations in fixed-point format and returns to the destinations in 25.7 fixed point format. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
32-bit signed image buffer ID |
Conserves the fixed point format between the destination buffer and the source buffer. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
Floating-point image buffer ID |
Specifies that processing will be performed in floating-point arithmetic. The destination buffer should also be a floating-point buffer. (summarize)Specifies that processing will be performed in floating-point arithmetic. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
SrcImageIBufId |
Specifies the identifier of the source buffer for the imaginary component of the image in the spatial domain. This buffer must be of the same type and pixel depth, and have the same dimensions and limitations as the buffer specified for SrcImageRBufId. (summarize)Specifies the identifier of the source buffer for the imaginary component of the image in the spatial domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_NULL |
Specifies that a faster version of the forward transform will be performed. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
Image buffer ID |
Specifies the identifier of the source buffer. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
DstImageRBufId |
Specifies the identifier of the destination buffer for the real component of the image in the frequency domain. If SrcImageRBufId is an integer buffer, this must be a 32-bit signed integer buffer. If SrcImageRBufId is a floating-point buffer, this must also be a floating-point buffer. The width and height of the destination buffer should be a multiple of 8. This image must not have a region of interest (ROI) associated with it. Using an image with an ROI will cause an error. (summarize)Specifies the identifier of the destination buffer for the real component of the image in the frequency domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
DstImageIBufId |
Specifies the identifier of the destination buffer for the imaginary component of the image in the frequency domain. This buffer must be of the same type and pixel depth, and have the same dimensions and limitations as the buffer specified for DstImageRBufId. (summarize)Specifies the identifier of the destination buffer for the imaginary component of the image in the frequency domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_REVERSE + |
Performs a reverse transform on the image. (summarize)Performs a reverse transform on the image. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
SrcImageRBufId |
Specifies the identifier of the source buffer for the real component of the image in the frequency domain. This must be a 32-bit integer buffer or a floating-point buffer. The width and height of the source buffer must be a multiple of 8. This image must not have a region of interest (ROI) associated with it. Using an image with an ROI will cause an error. (summarize)Specifies the identifier of the source buffer for the real component of the image in the frequency domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
SrcImageIBufId |
Specifies the identifier of the source buffer for the imaginary component of the image in the frequency domain. This buffer must be of the same type and pixel depth, and have the same dimensions and limitations as the buffer specified for SrcImageRBufId. (summarize)Specifies the identifier of the source buffer for the imaginary component of the image in the frequency domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_NULL |
Specifies that a faster version of the forward transform will be performed. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
Image buffer ID |
Performs calculations in fixed-point format and returns to the destinations in fixed point format. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
DstImageRBufId |
Specifies the identifier of the destination buffer for the real component of the image in the spatial domain. The width and height of the destination buffer should be a multiple of 8. This image must not have a region of interest (ROI) associated with it. Using an image with an ROI will cause an error. (summarize)Specifies the identifier of the destination buffer for the real component of the image in the spatial domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
8-bit signed/unsigned image buffer ID |
The format of the source buffer is assumed to be in 23.9 fixed point format. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
16-bit signed/unsigned image buffer ID |
The format of the source buffer is assumed to be in 25.7 fixed point format. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
32-bit signed image buffer ID |
The fixed point format of the destination buffer is the same as that of the source. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
Floating-point image buffer ID |
If SrcImageRBufId is a floating-point buffer, this must also be a floating-point buffer and processing will be performed in floating-point arithmetic. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
DstImageIBufId |
Specifies the identifier of the destination buffer for the imaginary component of the image in the spatial domain. This buffer must be of the same type and pixel depth, and have the same dimensions and limitations as the buffer specified for DstImageRBufId. (summarize)Specifies the identifier of the destination buffer for the imaginary component of the image in the spatial domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_FFT |
Performs a Fast Fourier transform. (summarize)Performs a Fast Fourier transform. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_DEFAULT |
Same as M_FORWARD. (summarize)Same as M_FORWARD. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_FORWARD + |
Performs a forward transform on the image. For floating-point destination buffers, the processing will be performed in floating-point arithmetic. (summarize)Performs a forward transform on the image. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
SrcImageRBufId |
Specifies the identifier of the source buffer for the real component of the image in the spatial domain. The width and height of the source buffer must be a power of 2. This image must not have a region of interest (ROI) associated with it. Using an image with an ROI will cause an error. (summarize)Specifies the identifier of the source buffer for the real component of the image in the spatial domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
8-bit signed/unsigned image buffer ID |
Calculations are performed in fixed-point format and returned to the destinations in 23.9 fixed point format. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
16-bit signed/unsigned image buffer ID |
Calculations are performed in fixed-point format and returned to the destinations in 25.7 fixed point format. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
32-bit signed image buffer ID |
The fixed point format of the destination buffer will be the same as that of the source buffer. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
Floating-point image buffer ID |
The destination buffer should also be a floating-point buffer and processing will be performed in floating-point arithmetic. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
SrcImageIBufId |
Specifies the identifier of the source buffer for the imaginary component of the image in the spatial domain. This buffer must be of the same type and pixel depth, and have the same dimensions and limitations as the buffer specified for SrcImageRBufId. (summarize)Specifies the identifier of the source buffer for the imaginary component of the image in the spatial domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_NULL |
Specifies that a faster version of the forward transform will be performed. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
Image buffer ID |
Specifies the identifier of the source buffer. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
DstImageRBufId |
Specifies the identifier of the destination buffer for the real component of the image in the frequency domain. If SrcImageRBufId is an integer buffer, this can be a 32-bit signed integer buffer or a floating-point buffer. If SrcImageRBufId is a floating-point buffer, this must be a floating-point buffer also. The width and height of the destination buffer must be a power of 2. This image must not have a region of interest (ROI) associated with it. Using an image with an ROI will cause an error. (summarize)Specifies the identifier of the destination buffer for the real component of the image in the frequency domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
DstImageIBufId |
Specifies the identifier of the destination buffer for the imaginary component of the image in the frequency domain. This buffer must be of the same type and pixel depth, and have the same dimensions and limitations as the buffer specified for DstImageRBufId. (summarize)Specifies the identifier of the destination buffer for the imaginary component of the image in the frequency domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_REVERSE + |
Performs a reverse transform on the image. (summarize)Performs a reverse transform on the image. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
SrcImageRBufId |
Specifies the identifier of the source buffer for the real component of the image in the frequency domain. This must be a 32-bit integer buffer or a floating-point buffer. The source buffer must be a 32-bit signed integer or a floating-point buffer. The width and height of the source buffer must be a power of 2. This image must not have a region of interest (ROI) associated with it. Using an image with an ROI will cause an error. (summarize)Specifies the identifier of the source buffer for the real component of the image in the frequency domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
SrcImageIBufId |
Specifies the identifier of the source buffer for the imaginary component of the image in the frequency domain. This buffer must be of the same type and pixel depth, and have the same dimensions and limitations as the buffer specified for SrcImageRBufId. (summarize)Specifies the identifier of the source buffer for the imaginary component of the image in the frequency domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
DstImageRBufId |
Specifies the identifier of the destination buffer for the real component of the image in the spatial domain. The width and height of the destination buffer must be a power of 2. This image must not have a region of interest (ROI) associated with it. Using an image with an ROI will cause an error. (summarize)Specifies the identifier of the destination buffer for the real component of the image in the spatial domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
8-bit signed/unsigned image buffer ID |
The format of the source buffer is assumed to be in 23.9 fixed point format. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
16-bit signed/unsigned image buffer ID |
The format of the source buffer is assumed to be in 25.7 fixed point format. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
32-bit signed image buffer ID |
The fixed point format of the destination buffer is the same as that of the source. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
Floating-point image buffer ID |
If SrcImageRBufId is a floating-point buffer, this must also be a floating-point buffer and processing will be performed in floating-point arithmetic. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
DstImageIBufId |
Specifies the identifier of the destination buffer for the imaginary component of the image in the spatial domain. This buffer must be of the same type and pixel depth, and have the same dimensions and limitations as the buffer specified for DstImageRBufId. (summarize)Specifies the identifier of the destination buffer for the imaginary component of the image in the spatial domain. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_NULL |
Specifies that a faster version of the reverse transform will be performed. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
Image buffer ID |
Specifies the identifier of the destination buffer. |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_POLAR |
Performs a cartesian-to-polar or a polar-to-cartesian transform on the coordinates of the source buffer. (summarize)Performs a cartesian-to-polar or a polar-to-cartesian transform on the coordinates of the source buffer. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_DEFAULT |
Same as M_FORWARD. (summarize)Same as M_FORWARD. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_FORWARD + |
Converts the real and imaginary components of cartesian coordinates to the magnitude and phase components of polar coordinates. (summarize)Converts the real and imaginary components of cartesian coordinates to the magnitude and phase components of polar coordinates. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
SrcImageRBufId |
Specifies the identifier of the source buffer for the real component of the cartesian coordinates. It must be a 32-bit floating-point buffer. (summarize)Specifies the identifier of the source buffer for the real component of the cartesian coordinates. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
SrcImageIBufId |
Specifies the identifier of the source buffer for the imaginary component of the cartesian coordinates. It must be provided. (summarize)Specifies the identifier of the source buffer for the imaginary component of the cartesian coordinates. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
DstImageRBufId |
Specifies the identifier of the destination buffer for the magnitude component of the polar coordinates. (summarize)Specifies the identifier of the destination buffer for the magnitude component of the polar coordinates. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_NULL |
Specifies that a faster version of the forward transform will be performed. Only one of the destination buffers can be set to M_NULL. (summarize)Specifies that a faster version of the forward transform will be performed. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
Image buffer ID |
Specifies the identifier of the destination buffer. It must be a 32-bit floating-point buffer. (summarize)Specifies the identifier of the destination buffer. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
DstImageIBufId |
Specifies the identifier of the destination buffer for the phase component of the polar coordinates. (summarize)Specifies the identifier of the destination buffer for the phase component of the polar coordinates. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_NULL |
Specifies that a faster version of the forward transform will be performed. Only one of the destination buffers can be set to M_NULL. (summarize)Specifies that a faster version of the forward transform will be performed. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
Image buffer ID |
Specifies the identifier of the destination buffer. The phase results are comprised in the range of 0-360. (summarize)Specifies the identifier of the destination buffer. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_REVERSE + |
Converts the magnitude and phase components of polar coordinates to the real and imaginary components of cartesian coordinates. (summarize)Converts the magnitude and phase components of polar coordinates to the real and imaginary components of cartesian coordinates. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
SrcImageRBufId |
Specifies the identifier of the source buffer for the magnitude component of the polar coordinates. It must be a 32-bit floating-point buffer. (summarize)Specifies the identifier of the source buffer for the magnitude component of the polar coordinates. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
SrcImageIBufId |
Specifies the identifier of the source buffer for the phase component of the polar coordaintes. It must be provided. (summarize)Specifies the identifier of the source buffer for the phase component of the polar coordaintes. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
DstImageRBufId |
Specifies the identifier of the destination buffer for the real component of the cartesian coordinates. It must be a 32-bit floating-point buffers. (summarize)Specifies the identifier of the destination buffer for the real component of the cartesian coordinates. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
DstImageIBufId |
Specifies the identifier of the destination buffer for the imaginary component of the cartesian coordinates. The phase results are comprised in the range of 0-360. (summarize)Specifies the identifier of the destination buffer for the imaginary component of the cartesian coordinates. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa |
You can add one or more of the following values to the above-mentioned values to set the transform characteristics.
Note that only M_NORMALIZE is supported with both M_FFT and M_DCT8X8. All other values are supported only with M_FFT.
For the ControlFlag parameter
|
|||||||||||||||||||||||||||||||||||||||
|
Description | ||||||||||||||||||||||||||||||||||||||
M_1D_COLUMNS |
Performs a 1D transform on all columns of the image. If M_1D_COLUMNS has been specified with the forward transform, then it must be specified for the reverse transform as well. (summarize)Performs a 1D transform on all columns of the image. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_1D_ROWS |
Performs a 1D transform on all rows of the image. If M_1D_ROWS has been specified with the forward transform, then it must be specified for the reverse transform as well. (summarize)Performs a 1D transform on all rows of the image. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_CENTER |
Centers the real and imaginary components of the image in the frequency domain by repositioning their respective buffers' quadrants. The DC component is positioned at (SizeX/2-1, SizeY/2-1), where SizeX and SizeY are the width and height of the source buffer, respectively. If the size of the destination buffers is different from that of the source buffer, data that falls outside of the destination buffers is clipped; exceeding areas of the destination buffers are unaffected. See the Managing data buffers section of Chapter 21: Data buffers for more information. If M_CENTER has been specified for the forward transform, then it must be specified for the reverse transform as well. (summarize)Centers the real and imaginary components of the image in the frequency domain by repositioning their respective buffers' quadrants. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MAGNITUDE + |
Specifies whether to compute or use the magnitude. When used with M_FORWARD, computes the magnitude of the forward FFT (the square root of R 2 +I 2 ). The magnitude is returned in the DstImageRBufId destination buffer, thereby overwriting the real component of the destination image. When used with M_REVERSE, computes the real component of the transform from the magnitude and phase ( R = M cos(P) ). The result will be used to perform the reverse FFT. For a reverse FFT, SrcImageRBufId and SrcImageIBufId must contain the magnitude and phase of a forward transform, respectively. M_MAGNITUDE must be used with M_PHASE for a reverse FFT. For a forward FFT, DstImageIBufId can be set to M_NULL if M_MAGNITUDE is used without M_PHASE. M_MAGNITUDE can only be used in transforms processed with floating-point buffers. (summarize)Specifies whether to compute or use the magnitude. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_NORMALIZE |
Normalizes results (divide the final result by 8 for DCT and by (m x n) for FFT where m x n is the size of the image). M_NORMALIZE must be used with fixed-point arithmetic (all integer buffers) to avoid overflows. If M_NORMALIZE has been specified with the forward transform, then it must be specified for the reverse transform as well. (summarize)Normalizes results (divide the final result by 8 for DCT and by (m x n) for FFT where m x n is the size of the image). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_PHASE |
Specifies whether to compute or use the phase. When used with M_FORWARD, computes the phase of the forward transform ( P = atan(I/R) ). The phase is returned in the DstImageIBufId buffer, thereby overwriting the imaginary component of the destination image. The phase is returned in the range of 0° to 360°. When used with M_REVERSE, computes the imaginary component of the transform from the magnitude and phase ( I = M sin(P) ). The result will be used to perform the reverse FFT. For a reverse FFT, SrcImageRBufId and SrcImageIBufId must contain the magnitude and phase of a forward transform, respectively. M_PHASE must be used with M_MAGNITUDE for a reverse FFT. For a forward FFT, DstImageRBufId can be set to M_NULL if M_PHASE is used without M_MAGNITUDE. M_PHASE can only be used in transforms processed with floating-point buffers. (summarize)Specifies whether to compute or use the phase. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SATURATION |
Clips (saturates) the results of a reverse FFT according to the destination buffer's data type. M_SATURATION can only be used with a reverse FFT (M_FFT + M_REVERSE) operation which uses floating-point source buffers and integer destination buffers. (summarize)Clips (saturates) the results of a reverse FFT according to the destination buffer's data type. (more details...) |
You can add the following value to the above-mentioned value to specify that the magnitude of the forward FFT is scaled logarithmically.
For M_MAGNITUDE
|
|||||||||||||||||||||||||||||||||||||||
|
Description |
MIL system-specific tooltip (‡) |
|||||||||||||||||||||||||||||||||||||
M_LOG_SCALE |
Scales logarithmically the magnitude of the forward FFT to be in the range of 0-255. This value is used to scale the spectrum into a displayable range. M_LOG_SCALE can only be used in forward transforms processed with floating-point buffers. (summarize)Scales logarithmically the magnitude of the forward FFT to be in the range of 0-255. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa |
You can add one or more of the following values to the above-mentioned values to specify the transform characteristics.
For specifying the transform
characteristics
|
|||||||||||||||||||||||||||||||||||||||
|
Description |
MIL system-specific tooltip (‡) |
|||||||||||||||||||||||||||||||||||||
M_FAST_PHASE |
Performs faster phase computation. For a forward polar transformation, it uses a faster computation of the phase results but slightly less accurate. For a reverse polar transformation, it has no effect. (summarize)Performs faster phase computation. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_NORMALIZE_PHASE |
Rescales the phase results. For a forward polar transformation, it rescales the phase results to be in the range of 0.0-1.0. For a reverse polar transformation, SrcImageRBufId must contain the phase values in the range of 0.0-1.0. This value cannot be used in combination with M_NORMALIZE_PHASE_255. (summarize)Rescales the phase results. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_NORMALIZE_PHASE_255 |
Rescales the phase results. For a forward polar conversion, it rescales the phase results to be in the range of 0-255. For a reverse polar transformation, SrcImageIBufId must contain the phase values in the range of 0-255. This value cannot be used in combination with M_NORMALIZE_PHASE. (summarize)Rescales the phase results. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa | ||||||||||||||||||||
M_SQUARE_MAGNITUDE |
Specifies that the magnitude values are returned or used squared. For a forward polar transformation, it gives the square of the magnitude results (that is, R 2 +I 2 ). For a reverse transformation, SrcImageRBufId must contain the magnitude values squared. (summarize)Specifies that the magnitude values are returned or used squared. (more details...) |
‡ | a | c M10 |
g | h | i | j | k M10 |
l | m | o | p | r U27 |
t U28 |
u U36 |
v | y U75 |
aa |
Header | Include mil.h. |
Library | Use mil.lib; milim.lib. |
DLL | Requires mil.dll; milim.dll. |