logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

VistaIOGetPixel, VistaIOSetPixel - get and set pixel values

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.

Author

       Art Pope <pope@cs.ubc.ca>

       Adaption to vistaio: Gert Wollny <gw.fossdev@gmail.com>

VistaIO Version 1.2.14                            24 April 1993                               VistaIOGetPixel(3)

Description

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.

Name

       VistaIOGetPixel, VistaIOSetPixel - get and set pixel values

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.

Return Values

VistaIOGetPixel returns the value of the specified pixel.

See Also

VistaIOImage(3),

Synopsis

#include<vistaio.h>VistaIODoubleVistaIOGetPixel(image,band,row,column)VistaIOImageimage;intband,row,column;voidVistaIOSetPixel(image,band,row,column,value)VistaIOImageimage;intband,row,column;VistaIODoublevalue;

See Also