You are here: Start » AVL.NET » AVL.GetImagePixel_Interpolated(AvlNet.Image, AvlNet.Point2D, AvlNet.InterpolationMethod, AvlNet.Pixel, float)

AVL.GetImagePixel_Interpolated(AvlNet.Image, AvlNet.Point2D, AvlNet.InterpolationMethod, AvlNet.Pixel, float)

Returns an interpolated single pixel of an image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


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

Parameters

inImage
Type: AvlNet.Image
Input image
inPoint
Type: AvlNet.Point2D
Point on the input image to be accessed
inInterpolation
Type: AvlNet.InterpolationMethod
outPixel
Type: AvlNet.Pixel
Output pixel
outValue
Type: System.Single
Average pixel value

Errors

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

See also