Back to FabImage Library website

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

AddImages_OfLoop


Header: FIL.h
Namespace: fil
Module: FoundationLite

Adds images appearing in consecutive iterations pixel by pixel.

Syntax

C++
C#
 
void fil::AddImages_OfLoop
(
	ImageCombinators_OfLoopState& ioState,
	const fil::Image& inImage,
	ftl::Optional<const fil::Region&> inRoi,
	float inScale,
	fil::Image& outImage
)

Parameters

Name Type Default Description
Input will be modified ioState ImageCombinators_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
Input value inScale float 1.0f
Output value 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 AddImages.

Hardware Acceleration

This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT8, 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, SINT8, SINT16, UINT16, REAL.

This operation is optimized for NEON technology for pixels of types: UINT8, SINT8, UINT16, SINT16, REAL, SINT32(for inScale!=1).

This operation supports automatic parallelization for multicore and multiprocessor systems.

See Also

  • AddImages – Adds two images pixel by pixel.