Back to Aurora Vision Library website

You are here: Start » Function Reference » Image » Image Combinators » AverageImages_OfLoop

AverageImages_OfLoop


Header: AVL.h
Namespace: avl
Module: FoundationLite

Averages images appearing in consecutive iterations pixel by pixel.

Syntax

C++
C#
 
void avl::AverageImages_OfLoop
(
	AverageImages_OfLoopState& ioState,
	const avl::Image& inImage,
	atl::Optional<const avl::Region&> inRoi,
	atl::Optional<avl::Image&> outImage
)

Parameters

Name Type Default Description
Input will be modified ioState AverageImages_OfLoopState& Object used to maintain state of the function.
Input value inImage const Image& Input image
Input value inRoi Optional<const Region&> NIL Range of pixels to be processed
Output value outImage Optional<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.

Optional Outputs

The computation of following outputs can be switched off by passing value atl::NIL to these parameters: outImage.

Read more about Optional Outputs.

Description

Loop version of AverageImages.

Errors

List of possible exceptions:

Error type Description
DomainError Image dimensions are not equal in AverageImages_OfLoop.
DomainError Image formats are not the same in AverageImages_OfLoop.
DomainError Region exceeds an input image in AverageImages_OfLoop.

See Also