Back to Aurora Vision Library website

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

SetImagePixel


Header: AVL.h
Namespace: avl
Module: FoundationLite

Sets a pixel of an image to the selected value.

Syntax

C++
C#
 
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.