Back to Aurora Vision Library Lite website

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

GetImageColumn


Header: AVL.h
Namespace: avl

Extracts an array of pixel values from a single column of an image.

Syntax

void avl::GetImageColumn
(
	const avl::Image& inImage,
	atl::Optional<int> inChannelIndex,
	const int inColumnIndex,
	atl::Array<float>& outValues,
	atl::Array<avl::Pixel>& outPixels
)

Parameters

Name Type Range Default Description
Input value inImage const Image& Input image
Input value inChannelIndex Optional<int> 0 - 3 NIL Selects a channel of the input image
Input value inColumnIndex const int 0 - 65535 Selects a column of the input image
Output value outValues Array<float>& Output pixel values of the column
Output value outPixels Array<Pixel>& Output pixels of the column

Errors

List of possible exceptions:

Error type Description
DomainError Channel index out of range in GetImageColumn.
DomainError Column index out of range in GetImageColumn.