STScI logoSTSDAS Help Pages
pixselect ctio pixselect

NAME · USAGE · PARAMETERS · DESCRIPTION · EXAMPLES · BUGS · SEE_ALSO

NAME

pixselect -- List pixel values within a certain range

USAGE

pixselect images lower upper

PARAMETERS

images
Images or list of image sections whose pixels are to be printed.
lower
Lower limit of window for listing pixels. If INDEF then all pixels that are below upper are listed. For complex images this is the magnitude of the pixel values.
upper
Upper limit of window for listing pixels. If INDEF then all pixels that are above lower are listed. For complex images this is the magnitude of the pixel values.
verbose = no
Print a title line for each image whose pixels are to be listed.

DESCRIPTION

For each image in the input list, the pixel coordinates and values are printed on the standard output, if the pixel values are within the range specified by lower and upper .

EXAMPLES

1.- List all pixels below 100:

ct> pixselect dev$pix 100 INDEF

2.- List all pixels above 1000 in an image subraster:

ct> pixselect dev$pix[51:55,155:151] INDEF 1000

3.- List all pixels between 100 and 1000:

ct> pixselect dev$pix 100 1000

BUGS

Pixel coordinates of image subsections refer to the coordinate system of the subsection not the coordinate system of the original image.

SEE ALSO

images.listpixels


Source Code · Search Form · STSDAS

Maintained by the Science Software Group at STScI
This file last updated on 11 Jul 1991