Click here to show toolbars of the Web Online Help System: show toolbars |
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.
The source image buffer for the real component must be unsigned monochrome 8- or 16-bit, or floating-point.
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.
The source image buffer for the imaginary component must be unsigned monochrome 8- or 16-bit, or floating-point.
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.
The destination image buffer for the real component must be unsigned monochrome 8- or 16-bit, or floating-point.
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.
The destination image buffer for the imaginary component must be unsigned monochrome 8- or 16-bit, or floating-point.
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.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
ControlFlag | |||||||||||||||||||||||||||||||||||||||
SrcImageRBufId | |||||||||||||||||||||||||||||||||||||||
SrcImageIBufId | |||||||||||||||||||||||||||||||||||||||
DstImageRBufId | |||||||||||||||||||||||||||||||||||||||
DstImageIBufId | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Performs a discrete cosine transform on each 8x8 pixel block in the image. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Same as M_FORWARD. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Performs a forward transform on the image. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the source buffer for the real component of the image in the spatial domain. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Performs calculations in fixed-point format and returns to the destinations in 23.9 fixed point format. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Performs calculations in fixed-point format and returns to the destinations in 25.7 fixed point format. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Conserves the fixed point format between the destination buffer and the source buffer. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies that processing will be performed in floating-point arithmetic. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the source buffer for the imaginary component of the image in the spatial domain. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer for the real component of the image in the frequency domain. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer for the imaginary component of the image in the frequency domain. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Performs a reverse transform on the image. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the source buffer for the real component of the image in the frequency domain. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the source buffer for the imaginary component of the image in the frequency domain. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer for the real component of the image in the spatial domain. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
The format of the source buffer is assumed to be in 23.9 fixed point format. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
The format of the source buffer is assumed to be in 25.7 fixed point format. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
The fixed point format of the destination buffer is the same as that of the source. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
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 | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer for the imaginary component of the image in the spatial domain. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Performs a Fast Fourier transform. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
MIL system specific | |||||||||||||||||||||||||||||||||||||||
The transformation is always done in floating-point. |
‡ | d | |||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_FORWARD. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Performs a forward transform on the image. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Specifies the identifier of the source buffer for the real component of the image in the spatial domain. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Calculations are performed in fixed-point format and returned to the destinations in 23.9 fixed point format. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Calculations are performed in fixed-point format and returned to the destinations in 25.7 fixed point format. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
The fixed point format of the destination buffer will be the same as that of the source buffer. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
The destination buffer should also be a floating-point buffer and processing will be performed in floating-point arithmetic. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Specifies the identifier of the source buffer for the imaginary component of the image in the spatial domain. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Specifies that a faster version of the forward transform will be performed. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Specifies the identifier of the source buffer. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer for the real component of the image in the frequency domain. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer for the imaginary component of the image in the frequency domain. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Performs a reverse transform on the image. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Specifies the identifier of the source buffer for the real component of the image in the frequency domain. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Specifies the identifier of the source buffer for the imaginary component of the image in the frequency domain. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer for the real component of the image in the spatial domain. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
The format of the source buffer is assumed to be in 23.9 fixed point format. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
The format of the source buffer is assumed to be in 25.7 fixed point format. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
The fixed point format of the destination buffer is the same as that of the source. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
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 | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer for the imaginary component of the image in the spatial domain. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Specifies that a faster version of the reverse transform will be performed. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer. |
‡ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | ||||||||||||||||
![]() ![]() |
Performs a cartesian-to-polar or a polar-to-cartesian transform on the coordinates of the source buffer. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Same as M_FORWARD. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Converts the real and imaginary components of cartesian coordinates to the magnitude and phase components of polar coordinates. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the source buffer for the real component of the cartesian coordinates. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the source buffer for the imaginary component of the cartesian coordinates. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer for the magnitude component of the polar coordinates. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies that a faster version of the forward transform will be performed. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer for the phase component of the polar coordinates. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies that a faster version of the forward transform will be performed. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Converts the magnitude and phase components of polar coordinates to the real and imaginary components of cartesian coordinates. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the source buffer for the magnitude component of the polar coordinates. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the source buffer for the phase component of the polar coordaintes. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer for the real component of the cartesian coordinates. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies the identifier of the destination buffer for the imaginary component of the cartesian coordinates. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u |
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 FFT and DCT. All other values are supported only with the FFT.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Performs a 1-D transform on all columns of the image. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Performs a 1-D transform on all rows of the image. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Centers the real part and the imaginary part of the spectrum. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies whether to compute or use the magnitude. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
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). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies whether to compute or use the phase. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Clips (saturates) the results of a reverse FFT according to the destination buffer's data type. |
You can add the following value to the above-mentioned value to specify that the magnitude of the forward FFT is scaled logarithmically.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description |
MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
![]() ![]() |
Scales logarithmically the magnitude of the forward FFT to be in the range of 0-255. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u |
You can add one of the following values to the above-mentioned values to specify the transform characteristics.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description |
MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
![]() ![]() |
Performs faster phase computation. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Rescales the phase results. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Rescales the phase results. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |||||||||||||||||
![]() ![]() |
Specifies that the magnitude values are returned or used squared. |
‡ | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u |
Header | Include mil.h. |
Library | Use mil.lib; milim.lib. |
DLL | Requires mil.dll; milim.dll. |