You are here: Start » AVL.NET » Function Reference » Image » Image Basics » AVL.GetImagePixel_Interpolated

AVL.GetImagePixel_Interpolated

Returns an interpolated single pixel of an image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void GetImagePixel_Interpolated
(
	AvlNet.Image inImage,
	AvlNet.Point2D inPoint,
	AvlNet.InterpolationMethod inInterpolation,
	out AvlNet.Pixel outPixel,
	out float outValue
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inPointAvlNet.Point2DPoint on the input image to be accessed.
inInterpolationAvlNet.InterpolationMethodBilinearDefault value: Bilinear.
outPixelAvlNet.PixelOutput pixel.
outValuefloatAverage pixel value.

Errors

List of possible exceptions:

Error type Description
DomainError Input point exceeds dimensions of an input image in GetImagePixel_Interpolated.
DomainError Unknown interpolation method in GetImagePixel_Interpolated.

See also