You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inPoint | AvlNet.Point2D | Point on the input image to be accessed. | |||
inInterpolation | AvlNet.InterpolationMethod | Bilinear | Default value: Bilinear. | ||
outPixel | AvlNet.Pixel | Output pixel. | |||
outValue | float | Average 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. |