Back to Adaptive Vision Library Lite website

You are here: Start » Image Basics » SetImagePixel

SetImagePixel


Sets a pixel of an image to the selected value.

Syntax

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.