You are here: Start » AVL.NET » AVL.GetImagePixel(AvlNet.Image, AvlNet.Location, AvlNet.Pixel, float)

AVL.GetImagePixel(AvlNet.Image, AvlNet.Location, AvlNet.Pixel, float)

Returns a single pixel of an image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void GetImagePixel(
	AvlNet.Image inImage,
	AvlNet.Location inLocation,
	out AvlNet.Pixel outPixel,
	out float outValue
)

Parameters

inImage
Type: AvlNet.Image
Input image
inLocation
Type: AvlNet.Location
Location of the pixel to be accessed
outPixel
Type: AvlNet.Pixel
Output pixel
outValue
Type: System.Single
Average pixel value

Errors

Error type Description
DomainError Input location exceeds dimensions of an input image in GetImagePixel.

See also