You are here: Start » AVL.NET » AVL.ImageMaximum(AvlNet.Image, AvlNet.Region, AvlNet.Location, float)

AVL.ImageMaximum(AvlNet.Image, AvlNet.Region, AvlNet.Location, float)

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

inImage
Type: AvlNet.Image
Input image
inRoi
Type: AvlNet.Region
Range of pixels to be processed, or null.
outMaximumLocation
Type: AvlNet.Location
outMaximumValue
Type: System.Single

Examples

ImageMaximum used to detect the brightest point.

Errors

Error type Description
DomainError Empty region on input in ImageMaximum.

See also