RollingAverageImages_OfLoop


Averages images appearing in consecutive iterations pixel by pixel using exponential rolling average.

Syntax

C++
Python
 
def RollingAverageImages_OfLoop(
	state: ImageCombinators_OfLoopState,
	inImage: Image,
	outImage: Image,
	/,
	*,
	inRoi: Region | None = None,
	inAlpha: float = 0.5
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState ImageCombinators_OfLoopState
Input value inImage Image Input image
Input value inRoi Region | None None Range of pixels to be processed
Input value inAlpha float 0.0 - 1.0 0.5
Output value outImage Image Output image

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.