Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Basics » SetImagePixel
Sets a pixel of an image to the selected value.
Syntax
C++
C#
void avl::SetImagePixel ( avl::Image& ioImage, const avl::Location& inLocation, const avl::Pixel& inPixel )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioImage | Image& | |||
inLocation | const Location& | Location of the pixel to be set | ||
inPixel | const Pixel& | New pixel value |
Errors
Error type | Description |
---|---|
DomainError | Input location exceeds dimensions of an input image in SetImagePixel. |