Produces a colour composite of up to three two-dimensional NDFs COLCOMP
The data values in each of the input NDFs which are to be mapped on to zero intensity and full intensity can be given manually using Parameters RLOW, RHIGH, GLOW, GHIGH, BLOW and BHIGH, but by default they are evaluated automatically. This is done by finding specified percentile points within the data histograms of each of the input images (see Parameter PERCENTILES).
The NDF outputs are intended to be displayed with Kappa application DISPLAY, using the command:
display out
scale=no lut=lut
where “out
”
and “lut
”
are the names of the NDF image and colour table created by this application using Parameters
OUT and LUT. The main advantage of this NDF form of output over the PPM form is that
any WCS or AXIS information in the input NDFs is still available, and can be used to
create axis annotations by the DISPLAY command. The graphics device which will be
used to display the image must be specified when running this application (see Parameter
DEVICE).
The PPM form of output can be displayed using tools such as xv, or converted into other forms (GIF or JPEG, for instance) using tools such as ppmtogif and cjpeg from the NetPbm or PbmPlus packages. These tools provide more sophisticated colour quantisation methods than are used by this application when creating the NDF outputs, and so may give better visual results.
"MAX"
— The maximum colour index used for the display of the image.
"MIN"
— The minimum colour index used for the display of the image.
An integer — The actual colour index. It is constrained between 0 and the maximum colour index available on the device.
A named colour — Uses the named colour from the palette, and if it is not present, the nearest colour from the palette is selected.
An HTML colour code such as #ff002d
.
If the colour is to remain unaltered as the lookup table is manipulated choose an integer between 0
and 15, or a named colour. Note, if only the PPM output is to be created (see Parameter PPM), then a
named colour must be given for BADCOL. [
current value]
!
) value is supplied, the value
actually used will be determined by forming a histogram of the data values in the NDF
specified by Parameter INB, and finding the data value at the second histogram percentile
specified by Parameter PERCENTILES. [!]
!
) value is supplied, the value actually used will be
determined by forming a histogram of the data values in the NDF specified by Parameter
INB, and finding the data value at the first histogram percentile specified by Parameter
PERCENTILES. [!]
!
) value is supplied for Parameter OUT. The device
must have at least 24 colour indices or grey-scale intensities. [
current graphics device]
!
) value is supplied, the value actually used will be determined by forming a histogram
of the data values in the NDF specified by Parameter ING, and finding the data value
at the second histogram percentile specified by Parameter PERCENTILES. [!]
!
)
value is supplied, the value actually used will be determined by forming a histogram of
the data values in the NDF specified by Parameter ING, and finding the data value at
the first histogram percentile specified by Parameter PERCENTILES. [!]
!
) value may
be supplied in which case the blue intensity in the output will be zero at every pixel. !
) value may be supplied in which case the green intensity in the output will be zero at
every pixel. !
) value may be supplied in which case the red intensity in the output will be
zero at every pixel. !
) value is given for Parameter OUT. !
) value is supplied, the value actually used will be determined by forming a histogram
of the data values in the NDF specified by Parameter INR, and finding the data value at
the second histogram percentile specified by Parameter PERCENTILES. [!]
!
) value
is supplied, the value actually used will be determined by forming a histogram of the
data values in the NDF specified by Parameter INR, and finding the data value at the first
histogram percentile specified by Parameter PERCENTILES. [!]
display scale=false
. If a null value (!
) is supplied, no output NDF will be
created. [5,95]
!
)
value is supplied, no PPM output is created. [!]
display m31_col scale=no lut=m31_lut
m31.ppm
is created which (for instance) can be displayed using the
command:
xv m31.ppm
It can be converted to a GIF (for instance, for inclusion in WWW pages) using the command:
ppmquant 256 m31.ppm
ppmtogif
m31.gif
These commands assume you have xv, ppmquant and ppmtogif installed at your site. None of them are part of Kappa.
The output image (PPM or NDF) covers the area of overlap between the input NDFs at full resolution. If the input NDFs are very large is is a good idea to compress them first (for instance, using COMPAVE) to reduce the size of the output images. Note, compressing the output NDF will normally produce spurious colours in the compressed image.
The output image is based on the values in the DATA components of the input NDFs. Any VARIANCE and QUALITY arrays in the input NDFs are ignored.
The HISTORY, WCS, and AXIS components, together with any extensions are propagated to the output NDF, from the first supplied input NDF.
Processing of bad pixels and automatic quality masking are supported.
Only data of type _REAL can be processed directly. Data of other types will be converted to _REAL before being processed.