Back to Aurora Vision Library website

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

GetImageRow


Header: AVL.h
Namespace: avl
Module: FoundationLite

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

Syntax

C++
C#
 
void avl::GetImageRow
(
	const avl::Image& inImage,
	atl::Optional<int> inChannelIndex,
	const int inRowIndex,
	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 inRowIndex const int 0 - 65535 Selects a row of the input image
Output value outValues Array<float>& Output pixel values of the row
Output value outPixels Array<Pixel>& Output pixels of the row

Errors

List of possible exceptions:

Error type Description
DomainError Channel index out of range in GetImageRow.
DomainError Row index out of range in GetImageRow.