Back to FabImage Library website
You are here: Start » Function Reference » Image Combinators » MaximumImage_OfLoop
Header: | FIL.h |
---|---|
Namespace: | fil |
Computes the maximum of images appearing in consecutive iterations pixel by pixel.
Syntax
C++
C#
void fil::MaximumImage_OfLoop ( MaximumImage_OfLoopState& ioState, const fil::Image& inImage, ftl::Optional<const fil::Region&> inRoi, fil::Image& outImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioState | MaximumImage_OfLoopState& | Object used to maintain state of the function. | ||
![]() |
inImage | const Image& | Input image | |
![]() |
inRoi | Optional<const Region&> | NIL | Range of pixels to be processed |
![]() |
outImage | Image& | Output image |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inImage and outImage
Read more about In-place Computation.
Description
Loop version of MaximumImage.
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT8, UINT16, SINT16, REAL.
This operation is optimized for AVX2 technology for pixels of types: UINT8, SINT8, UINT16, SINT16, REAL.
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Image formats are not the same in MaximumImage. |
DomainError | Image sizes are not equal in MaximumImage. |
DomainError | Region exceeds an input image in MaximumImage. |
See Also
- MaximumImage – Creates an image from the higher pixel values of each corresponding pair.