You are here: Start » AVL.NET » AVL.GetImageRow(AvlNet.Image, int?, int, float[], AvlNet.Pixel[])
AVL.GetImageRow(AvlNet.Image, int?, int, float[], AvlNet.Pixel[])
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
- inImage
- Type: AvlNet.Image
Input image - inChannelIndex
- Type: System.Nullable<System.Int32>
Selects a channel of the input image, or null. - inRowIndex
- Type: System.Int32
Selects a row of the input image - outValues
- Type: System.Single
Output pixel values of the row - outPixels
- Type: AvlNet.Pixel
Output pixels of the row
Errors
| Error type | Description |
|---|---|
| DomainError | Channel index out of range in GetImageRow. |
| DomainError | Row index out of range in GetImageRow. |
