Back to Aurora Vision Library Lite website

You are here: Start » Image » Image Pixel Statistics » ImageMinimum

ImageMinimum


Header: AVL.h
Namespace: avl

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<float&> outMinimumValue = atl::NIL
)

Parameters

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

Optional Outputs

The computation of following outputs can be switched off by passing value atl::NIL to these parameters: outMinimumLocation, outMinimumValue.

Read more about Optional Outputs.

Examples

ImageMinimum used to detect the darkest point.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

List of possible exceptions:

Error type Description
DomainError Empty region on input in ImageMinimum.
DomainError Region exceeds an input image in ImageMinimum.