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

AVL.ImageMaximum

Finds the location and the value of the brightest pixel.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ImageMaximum
(
	AvlNet.Image inImage,
	NullableValue<AvlNet.Location> outMaximumLocation,
	NullableValue<float> outMaximumValue
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
outMaximumLocationAvlNet.NullableValue<AvlNet.Location> Can be null to skip this parameter calculation.
outMaximumValueAvlNet.NullableValue<float> Can be null to skip this parameter calculation.

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

List of possible exceptions:

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

Function Overrides

See also