You are here: Start » AVL.NET » Function Reference » Image » Image Basics » AVL.GetImageColumn

AVL.GetImageColumn

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void GetImageColumn
(
	AvlNet.Image inImage,
	int? inChannelIndex,
	int inColumnIndex,
	IList<float> outValues,
	IList<AvlNet.Pixel> outPixels
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inChannelIndexint?<0, 3>Selects a channel of the input image. Default value: atl::NIL.
inColumnIndexint<0, 65535>Selects a column of the input image.
outValuesSystem.Collections.Generic.IList<float>Output pixel values of the column.
outPixelsSystem.Collections.Generic.IList<AvlNet.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.

Function Overrides

See also