Back to FabImage Library website

You are here: Start » Function Reference » Image Basics » GetMultipleImagePixelValues_Safe

GetMultipleImagePixelValues_Safe


Header:FIL.h
Namespace:fil

Safely returns an array of pixel values of an image.

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.