VistaIOGetPixel(3) | Library Functions Manual | VistaIOGetPixel(3) |
VistaIOGetPixel, VistaIOSetPixel - get and set pixel values
#include <vistaio.h>
VistaIODouble VistaIOGetPixel (image, band, row, column)
VistaIOImage image; int band, row, column;
void VistaIOSetPixel (image, band, row, column, value)
VistaIOImage image; int band, row, column; VistaIODouble value;
VistaIOGetPixel fetches the value of the specified pixel and returns it as a VistaIODouble, casting it from the image's actual pixel representation if necessary.
VistaIOSetPixel sets the specified pixel to value, casting it to the image's actual pixel representation if necessary.
VistaIOGetPixel returns the value of the specified pixel.
If the image is known to have a particular pixel representation then the VistaIOPixel macro (see VistaIOImage(3)) can be used, instead, yielding greater efficiency.
Art Pope <pope@cs.ubc.ca>
Adaption to vistaio: Gert Wollny <gw.fossdev@gmail.com>
24 April 1993 | VistaIO Version 1.2.14 |