Back to Adaptive Vision Library Lite website
You are here: Start » Image Basics » SetImagePixels
![](../../img/icon/GetImagePixel.png)
SetImagePixels
Sets pixels of an image to the selected value.
Syntax
void avl::SetImagePixels ( avl::Image& ioImage, const atl::Array<avl::Location>& inLocations, const avl::Pixel& inPixel )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioImage | Image& | |||
![]() |
inLocations | const Array<Location>& | Locations of the pixels to be set | |
![]() |
inPixel | const Pixel& | New pixel value |
Errors
Error type | Description |
---|---|
DomainError | Input location exceeds dimensions of an input image in SetImagePixels. |