You are here: Start » AVL.NET » Function Reference » Image » Image Basics » AVL.GetImagePixel
Returns a single pixel of an image.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void GetImagePixel ( AvlNet.Image inImage, AvlNet.Location inLocation, out AvlNet.Pixel outPixel, out float outValue )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | AvlNet.Image | Input image. | ||
![]() | inLocation | AvlNet.Location | Location of the pixel to be accessed. | ||
![]() | outPixel | AvlNet.Pixel | Output pixel. | ||
![]() | outValue | float | Average pixel value. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input location exceeds dimensions of an input image in GetImagePixel. |