User's Guide

COMSEP

Separates the real and imaginary components of a complex image

Function:

COMSEP extracts the real and imaginary components of a complex-valued image to form two real-valued images.

Parameters:

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.

Examples:

  1. LAS> comsep in=myimg.in out=(real.dat,img.dat)

    This extracts the real and imaginary values from the input image MYIMG.IN. The output images are written to REAL.DAT and IMG.DAT.

Description/Algorithm:

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).

Nonfatal Error Message:

    None.

Fatal Error Message:

  1. [Comsep-dtype] Invalid data type for input image

    Input image is data type other than REAL*4. Respecify REAL*4 input image.

User's Note:

  1. The input complex image is actually stored as a REAL*4 image with the real and imaginary components interleaved.