Back to Adaptive Vision Library Lite website
You are here: Start » Image Pixel Statistics » ImageMaximum
![](../../img/icon/ImageMaximum.png)
ImageMaximum
Finds the location and the value of the brightest pixel.
Syntax
void avl::ImageMaximum ( const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, atl::Optional<avl::Location&> outMaximumLocation, atl::Optional<float&> outMaximumValue = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
inRoi | Optional<const Region&> | NIL | Range of pixels to be processed |
![]() |
outMaximumLocation | Optional<Location&> | ||
![]() |
outMaximumValue | Optional<float&> | NIL |
Examples
![](../../img/filters/ImageMaximum.png)
ImageMaximum used to detect the brightest point.
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
Error type | Description |
---|---|
DomainError | Empty region on input in ImageMaximum. |