Back to Adaptive Vision Library website

You are here: Start » Function Reference » Image Pixel Statistics » ImageMaximum

ImageMaximum


Finds the location and the value of the brightest pixel.

Syntax

C++
C#
 
void avl::ImageMaximum
(
	const avl::Image& inImage,
	atl::Optional<const avl::Region&> inRoi,
	atl::Optional<avl::Location&> outMaximumLocation,
	atl::Optional<atl::real&> outMaximumValue = atl::NIL
)

Parameters

Name Type Default Description
inImage const Image& Input image
inRoi Optional<const Region&> NIL Range of pixels to be processed
outMaximumLocation Optional<Location&>
outMaximumValue Optional<real&> NIL

Examples

ImageMaximum used to detect the brightest point.

Errors

Error type Description
DomainError Empty region on input in ImageMaximum.