You are here: Start » Function Reference » Image » Image Combinators » RollingAverageImages_OfLoop
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationLite |
Averages images appearing in consecutive iterations pixel by pixel using exponential rolling average.
Syntax
void avl::RollingAverageImages_OfLoop ( ImageCombinators_OfLoopState& ioState, const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, const float inAlpha, avl::Image& outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | ImageCombinators_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 | ||
inAlpha | const float | 0.0 - 1.0 | 0.5f | ||
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.
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT16, REAL, SINT8(for inScale=1), UINT16(for inScale=1).
This operation is optimized for SSE41 technology for pixels of types: UINT16(for inScale!=1).
This operation is optimized for AVX2 technology for pixels of types: UINT8, SINT16, UINT16, REAL, SINT8(for inScale=1).
This operation supports automatic parallelization for multicore and multiprocessor systems.