NAME

clip - replace pixels outside an intensity range

SYNOPSIS

clip file [max=] [min=] [verbose] [outfile=]

DESCRIPTIONS

This routine replaces all pixels above the specified value of max with max and all pixels whose values are below min with min. The clipped data overwrites the file specified on the command line unless the outfile option is used

The number of clipped pixels will be printed to stdout.

OPTIONS

verbose -lists where the clipping is occurring.

EXAMPLE

clip lyr max=2000 outfile=- | mn - 
replaces all pixels in the file lyr.fits with values greater than 2000 with 2000 and sends the output to stdout and then pipes it to mn.
XVista index