You are here: Start » AVL.NET » AVL.GetImageRow
Extracts an array of pixel values from a single row of an image.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void GetImageRow ( AvlNet.Image inImage, int? inChannelIndex, int inRowIndex, IList<float> outValues, IList<AvlNet.Pixel> outPixels )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inChannelIndex | int? | <0, 3> | Selects a channel of the input image. Default value: atl::NIL. | ||
inRowIndex | int | <0, 65535> | Selects a row of the input image. | ||
outValues | System.Collections.Generic.IList<float> | Output pixel values of the row. | |||
outPixels | System.Collections.Generic.IList<AvlNet.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. |