Back to Adaptive Vision Library website

You are here: Start » Function Reference » Image Basics » SetMultipleImagePixels

SetMultipleImagePixels


Header:AVL.h
Namespace:avl

Sets pixels of an image to the selected values.

Syntax

C++
C#
 
void avl::SetMultipleImagePixels
(
	avl::Image& ioImage,
	const atl::Array<avl::Location>& inLocations,
	const atl::Array<avl::Pixel>& inPixels
)

Parameters

Name Type Default Description
ioImage Image&
inLocations const Array<Location>& Locations of the pixels to be set
inPixels const Array<Pixel>& New pixel values

Errors

List of possible exceptions:

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