Back to Aurora Vision Library Lite website

You are here: Start » Image » Image Combinators » NthImage_OfArray

NthImage_OfArray


Header: AVL.h
Namespace: avl

For each pixel location, get value of n-th (increasing) pixel among input images.

Syntax

void avl::NthImage_OfArray
(
	const atl::Array<avl::Image>& inImages,
	const atl::Optional<const atl::Array<avl::Region>&>& inSourceRois,
	int inN,
	bool inReverse,
	avl::Image& outImage
)

Parameters

Name Type Default Description
Input value inImages const Array<Image>&
Input value inSourceRois const Optional<const Array<Region>&>& NIL
Input value inN int
Input value inReverse bool False Reverse the ordering of pixel values to decreasing.
Output value outImage Image& Output image

Errors

List of possible exceptions:

Error type Description
DomainError ROI exceeds an input image in NthImage_OfArray.
DomainError Sizes of image array and ROI array differ in NthImage_OfArray.
DomainError The inN parameter cant be negative.
DomainError The inN parameter must be smaller than input image array size.