Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Combinators » MedianImages_OfArray
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Compute median value for each pixel of images from an array.
Syntax
C++
C#
void fil::MedianImages_OfArray ( const ftl::Array<fil::Image>& inImages, ftl::Optional<const fil::Region&> inRoi, fil::Image& outImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImages | const Array<Image>& | ||
![]() |
inRoi | Optional<const Region&> | NIL | Range of pixels to be processed |
![]() |
outImage | Image& | Output image |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty array of images in MedianImages_OfArray. |
DomainError | Image dimensions are not equal in MedianImages_OfArray. |
DomainError | Image formats are not the same in MedianImages_OfArray. |
DomainError | Not supported image type in MedianImages_OfArray. |
DomainError | Region exceeds an input image in MedianImages_OfArray. |