You are here: Start » AVL.NET » AVL.GetImageColumn Method

AVL.GetImageColumn Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void GetImageColumn(
	AvlNet.Image inImage,
	int? inChannelIndex,
	int inColumnIndex,
	out float[] outValues,
	out 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, or null.
inColumnIndexint<0, 65535>Selects a column of the input image.
outValuesfloatOutput pixel values of the column.
outPixelsAvlNet.PixelOutput pixels of the column.

Errors

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

See also