You are here: Start » AVL.NET » AVL.ImageMaximum Method

AVL.ImageMaximum Method

Finds the location and the value of the brightest pixel.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ImageMaximum(
	AvlNet.Image inImage,
	AvlNet.Region inRoi,
	out AvlNet.Location outMaximumLocation,
	out float outMaximumValue
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.RegionRange of pixels to be processed. Default value: atl::NIL, or null.
outMaximumLocationAvlNet.Location
outMaximumValuefloat

Examples

ImageMaximum used to detect the brightest point.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Errors

Error type Description
DomainError Empty region on input in ImageMaximum.

See also