PANDORE Version 6 GREYC-IMAGE

psetborder



Sets a given value to a specified pixel.



Synopsis

psetpixel x y z value [im_in|-] [im_out|-]

Description

psetpixel sets the given value value to the pixel at the specified location x, y, z.

For color and multispectral image, the value is set on each bands.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Set the value 255 to the pixel at the cordinates (10,12) in image tangram.pan.

   psetpixel 10 12 0 255 examples/tangram.pan a.pan

See also

Utility

C++ prototype

Errc PSetPixel( const Img3duc &im_in, Img3duc &im_out, Long z, Long y, Long x, Uchar value );

Author: Régis Clouard