Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Basics » GetMultipleImagePixelValues_Safe
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Returns an array of pixel values at specified locations; the image range is checked.
Syntax
C++
C#
void fil::GetMultipleImagePixelValues_Safe ( const fil::Image& inImage, const ftl::Array<fil::Point2D>& inPoints, const fil::InterpolationMethod::Type inInterpolation, float inDefault, ftl::Array<float>& outValues )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
inPoints | const Array<Point2D>& | ||
![]() |
inInterpolation | const InterpolationMethod::Type | Bilinear | |
![]() |
inDefault | float | 0.0f | |
![]() |
outValues | Array<float>& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Unknown interpolation method in GetMultipleImagePixelValues_Safe. |