Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Basics » SetImageRow
Sets pixel values in a single entire row of an image.
Syntax
C++
C#
void avl::SetImageRow ( avl::Image& ioImage, atl::Optional<int> inChannelIndex, const int inRowIndex, const atl::Array<float>& inValues )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioImage | Image& | ||||
inChannelIndex | Optional<int> | 0 - 3 | NIL | Selects a channel of the input image | |
inRowIndex | const int | 0 - 65535 | Selects a row of the input image | ||
inValues | const Array<float>& | New values for specified row |
Errors
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. |