Back to FabImage Library Lite website
You are here: Start » Image Pixel Statistics » ImageMaximum

ImageMaximum
Finds the location and the value of the brightest pixel.
Syntax
void fil::ImageMaximum ( const fil::Image& inImage, ftl::Optional<const fil::Region&> inRoi, ftl::Optional<fil::Location&> outMaximumLocation, ftl::Optional<float&> outMaximumValue = ftl::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

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. |