XVista8 manual page

NAME

clip - replace pixels outside an intensity range

SYNOPSIS

clip file [max=] [vmax=] [min=] [vmim=] [box=] [outfile=] [verbose]

DESCRIPTIONS

This routine replaces all pixels above max with vmax and all pixels whose values are below min with vmin. If vmax or vmax are not specified they are equal to max and min respectively.

The replacement can be confined to a box.

The clipped data overwrites the file specified on the command line unless the outfile option is used

EXAMPLE

clip lyr max=2000 - replaces all pixels in the file lyr with values greater than 2000 with 2000.

clip ring min=sky-100 vmin=0 -replaces all pixels in the file ring that are more than 100 adus below the sky value with zero.