Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Basics » SetImageColumn
Sets pixel values in a single entire column of an image.
Syntax
C++
C#
void avl::SetImageColumn ( avl::Image& ioImage, atl::Optional<int> inChannelIndex, const int inColumnIndex, 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 | |
inColumnIndex | const int | 0 - 65535 | Selects a column of the input image | ||
inValues | const Array<float>& | New values for specified column |
Errors
Error type | Description |
---|---|
DomainError | Channel index out of range in SetImageColumn. |
DomainError | Column index out of range in SetImageColumn. |
DomainError | Size of inValues array and image height are not equal in SetImageColumn. |