Back to Aurora Vision Library Lite website

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

SetImageRow


Header: AVL.h
Namespace: avl

Sets pixel values in a single entire row of an image.

Applications: Allows for creating images from calculated real values.

Syntax

void avl::SetImageRow
(
	avl::Image& ioImage,
	atl::Optional<int> inChannelIndex,
	const int inRowIndex,
	const atl::Array<float>& inValues
)

Parameters

Name Type Range Default Description
Input will be modified ioImage Image&
Input value inChannelIndex Optional<int> 0 - 3 NIL Selects a channel of the input image
Input value inRowIndex const int 0 - 65535 Selects a row of the input image
Input value inValues const Array<float>& New values for specified row

Errors

List of possible exceptions:

Error type Description
DomainError Channel index out of range in SetImageRow.
DomainError Row index out of range in SetImageRow.
DomainError Size of inValues array and image width are not equal in SetImageRow.