Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Basics » GetImagePixel_Interpolated
Returns an interpolated single pixel of an image.
Syntax
C++
C#
void avl::GetImagePixel_Interpolated ( const avl::Image& inImage, const avl::Point2D& inPoint, avl::InterpolationMethod::Type inInterpolation, avl::Pixel& outPixel, atl::real& 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 | real& | 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. |


