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

AVL.GetImageRow Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void GetImageRow(
	AvlNet.Image inImage,
	int? inChannelIndex,
	int inRowIndex,
	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.
inRowIndexint<0, 65535>Selects a row of the input image.
outValuesfloatOutput pixel values of the row.
outPixelsAvlNet.PixelOutput pixels of the row.

Errors

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

See also