Help for CCOMP

PURPOSE

    CCOMP converts images between complex pixel format and two real
format images.  Two types of transformation are possible (amplitude and phase)
or (real and imaginary).  The transformation may be done in either direction:
a complex image to two real images, or two real images to a complex image.


EXECUTION

    ccomp  IN.CMP  (OUT.AMP,OUT.PH)
    ccomp  IN.CMP  (OUT.RE, OUT.IM)  'RECT

    ccomp  (IN.AMP,IN.PH)  OUT.CMP    'POLAR 'INVERSE
    ccomp  (IN.RE, IN.IM)  OUT.CMP    'RECT  'INVERSE

'POLAR is the default transformation and 'FORWARD is the default direction.




Original Programmer:   Frank Evans         November 1986

Cognizant Programmer:  Frank Evans

Made portable for UNIX  RNR(CRI)           02-MAY-94

    Dec 18, 2012 - R. J. Bambery - Previous versions opened certain output
                            Files as COMPLEX, RTL standard is COMP. Now fixed.


PARAMETERS:


INP

For FORWARD mode: complex image For INVERSE mode: (real and imaginary) or (amplitude and phase) images

OUT

For FORWARD mode: (real and imaginary) or (amplitude and phase) images For INVERSE mode: complex image

SIZE

VICAR size field

SL

Starting line

SS

Starting sample

NL

Number of lines

NS

Number of samples

TRANS

Keyword for the transformation: 'POLAR for amplitude and phase. 'RECTANG for real and imaginary.

DIRECT

Keyword for the direction: FORWARD for complex input. INVERSE for complex output. .END

See Examples:


Cognizant Programmer: