Back to Adaptive Vision Library Lite website
You are here: Start » Image Basics » GetImagePixel_Interpolated
![](../../img/icon/GetImagePixel.png)
GetImagePixel_Interpolated
Returns an interpolated single pixel of an image.
Syntax
void avl::GetImagePixel_Interpolated ( const avl::Image& inImage, const avl::Point2D& inPoint, avl::InterpolationMethod::Type inInterpolation, avl::Pixel& outPixel, float& outValue )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
inPoint | const Point2D& | Point on the input image to be accessed | |
![]() |
inInterpolation | InterpolationMethod::Type | Bilinear | |
![]() |
outPixel | Pixel& | Output pixel | |
![]() |
outValue | float& | 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. |