VistaIOSelectBand(3) | Library Functions Manual | VistaIOSelectBand(3) |
VistaIOSelectBand - select bands of image pixels
#include <vistaio.h>
VistaIOBoolean VistaIOSelectBand (routine, image, band, npixels, first_pixel)
VistaIOStringConst routine; VistaIOImage image; VistaIOBand band; int *npixels; VistaIOPointer *first_pixel;
VistaIOSelectBand selects one or all bands of an image for processing.
The image argument specifies the image, and band specifies either a single band or all bands of that image. VistaIOSelectBand checks the validity of those two arguments, then returns via npixels and first_pixel the number and location of the selected pixels. (The pixels will be occupying a contiguous block of memory.) Either npixels or first_pixel may be NULL if the corresponding return value is wanted.
VistaIOSelectBand returns TRUE if its image and band arguments are consistent, and FALSE otherwise.
Art Pope <pope@cs.ubc.ca>
Adaption to vistaio: Gert Wollny <gw.fossdev@gmail.com>
24 April 1993 | VistaIO Version 1.2.14 |