You are here: Start » AVL.NET » AVL.GetImagePixel

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
inImageAvlNet.ImageInput image.
inLocationAvlNet.LocationLocation of the pixel to be accessed.
outPixelAvlNet.PixelOutput pixel.
outValuefloatAverage pixel value.

Errors

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

See also