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

AVL.GetImagePixel Method

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

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