IN = NDF (Read)
The input image.
A catalogue containing a positions list giving the pixels to be
replaced, such as produced by applications CURSOR, LISTMAKE. Only accessed if Parameter
MODE is given the value
INFILE = FILENAME (Read)
The name of a text
file containing the positions of the pixels to be replaced. The positions should be
given in the current co-ordinate Frame
of the input NDF, one per line. Spaces or
commas can be used as delimiters between axis values. The file may contain comment
lines with the first character # or !. This parameter is only used if Parameter MODE is
The method used to obtain the positions of
the pixels to be replaced. The supplied string can be one of the following
"Bad" –- The bad pixels in the input NDF are used.
"Catalogue" –- Positions are obtained from a positions list using Parameter
"File" –- The pixel positions are read from a text file specified by Parameter
"Interface" –- The position of each pixel is obtained using Parameter PIXPOS. The
number of positions supplied must not exceed 200.
OUT = NDF (Write)
The output image.
PIXPOS = LITERAL (Read)
The position of a pixel to be replaced, in the current co-ordinate Frame of the input
NDF. Axis values should be separated by spaces or commas. This parameter is only used
if Parameter MODE is set to
"Interface". If a value is supplied on the command line,
then the application exits after processing the single specified pixel. Otherwise,
the application loops to obtain multiple pixels to replace, until a null (
value is supplied. Entering a colon (
":") will result in a description of the
required co-ordinate Frame being displayed, followed by a prompt for a new
TITLE = LITERAL (Read)
Title for the output image. A null value
!) propagates the title from the input image to the output image.
glitch m51 cleaned mode=cat incat=badpix.FIT Reads pixel positions
from the positions list stored in the FITS file badpix.FIT, and replaces the
corresponding pixels in the two-dimensional NDF m51 by the median of the surrounding
neighbouring pixels. The cleaned image is written to cleaned.sdf.