Back to Aurora Vision Library website

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

GetMultipleImagePixelValues_Safe


Header: AVL.h
Namespace: avl
Module: FoundationLite

Returns an array of pixel values at specified locations; the image range is checked.

Syntax

C++
C#
 
void avl::GetMultipleImagePixelValues_Safe
(
	const avl::Image& inImage,
	const atl::Array<avl::Point2D>& inPoints,
	const avl::InterpolationMethod::Type inInterpolation,
	float inDefault,
	atl::Array<float>& outValues
)

Parameters

Name Type Default Description
Input value inImage const Image& Input image
Input value inPoints const Array<Point2D>&
Input value inInterpolation const InterpolationMethod::Type Bilinear
Input value inDefault float 0.0f
Output value outValues Array<float>&

Errors

List of possible exceptions:

Error type Description
DomainError Unknown interpolation method in GetMultipleImagePixelValues_Safe.