VistaIOGetPixel(3)

VistaIOGetPixel3

Get and set pixel values

Usage

#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;

Arguments

image

Specifies the image containing the pixel.

band, row, column

Specify the band, row, and column of the pixel.

value

Specifies the pixel's new value.

Overview

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.

Return values

VistaIOGetPixel returns the value of the specified pixel.

Notes

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.

Releases

Unchanged in 6 releases since Debian 8 (Jessie).

  1. 8–13

Author

Art Pope <[email protected]>

Adaption to vistaio: Gert Wollny <[email protected]>

From libvistaio-dev 1.2.19-3+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.