Separates the real and imaginary components of a complex image
COMSEP extracts the real and imaginary components of a complex-valued image to form two real-valued images.
- IN
- Input image. IN is the image providing the complex data to be separated into the real and imaginary components. If a window is specified, NP refers to the number of complex pixels, i.e., the number of REAL*4 pixel pairs.
- OUT
- Output image with real and imaginary components of IN. It has the same number of bands as IN. The data type is REAL*4.
This extracts the real and imaginary values from the input image MYIMG.IN. The output images are written to REAL.DAT and IMG.DAT.
Each pixel in the complex input image can be represented as u(x,y) + iv(x,y). The corresponding element in the first output image is then u(x,y) and in the second output image v(x,y).
Input image is data type other than REAL*4. Respecify REAL*4 input image.