Back to Aurora Vision Library Lite website

You are here: Start » Image » Image Basics » SetImagePixel

SetImagePixel


Header: AVL.h
Namespace: avl

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
Input will be modified ioImage Image&
Input value inLocation const Location& Location of the pixel to be set
Input value inPixel const Pixel& New pixel value

Errors

List of possible exceptions:

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