You are here: Start » AVL.NET » Function Reference » Image » Image Basics » 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

List of possible exceptions:

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

See also