Back to Adaptive Vision Library Lite website

You are here: Start » Image Pixel Statistics » ImageMinimum

ImageMinimum


Finds the location and the value of the darkest pixel.

Syntax

void avl::ImageMinimum
(
	const avl::Image& inImage,
	atl::Optional<const avl::Region&> inRoi,
	atl::Optional<avl::Location&> outMinimumLocation,
	atl::Optional<atl::real&> outMinimumValue = atl::NIL
)

Parameters

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

Examples

ImageMinimum used to detect the darkest point.

Errors

Error type Description
DomainError Empty region on input in ImageMinimum.