setComplexMode
|
|
Image
|
|
An integer between 0 and 116 specifying the frame number of the image. A value of 0 represents the DMA memory buffer of the video device. Values in the range of 100-116 correspond to hidden frames.
|
|
Mode
|
|
An enumerated integer specifying the component of the complex image that will become active. Must be one of the following values:
|
CM_RE converts the image into the Cartesian coordinate system and makes the Real component active.
|
CM_IM converts the image into the Cartesian coordinate system and makes the Imaginary component active.
|
CM_AM converts the image into the polar coordinate system and makes the Amplitude component active.
|
CM_PH converts the image into the polar coordinate system and makes the Phase component active.
|
|
ERR_OK
|
|
The flag set if successful.
|
|
ERR_FAILED
|
|
The flag set if failed.
|
|
This set of statements creates a complex image as a result of the Fourier transform and sets the active component to Phase.
|
|
grabIm (100)
|
fourier (100,1, M_DIRECT, TRUE)
|
setComplexMode (1, CM_PH )
|