Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image » Image Basics » SetImagePixels

SetImagePixels


Module: FoundationLite

Sets multiple pixels of an image to the selected value (all the pixels get the same value).

Name Type Description
inImage Image
inLocations LocationArray Locations of the pixels to be set
inPixel Pixel New pixel value
outImage Image

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Input location exceeds dimensions of an input image in SetImagePixels.

Complexity Level

This filter is available on Advanced Complexity Level.