You are here: Start » AVL.NET » Function Reference » Image » Image Pixel Statistics » 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 | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
outMaximumLocation | AvlNet.NullableValue<AvlNet.Location> | Can be null to skip this parameter calculation. | |||
outMaximumValue | AvlNet.NullableValue<float> | Can be null to skip this parameter calculation. |
Examples
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
- ImageMaximum(Image, NullableRef<Region>, Location, Single)
- ImageMaximum(Image, NullableRef<Region>, NullableValue<Location>, NullableValue<Single>)