Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Combinators » MedianImages_OfArray
Compute median value for each pixel of images from an array.
Syntax
C++
C#
void avl::MedianImages_OfArray ( const atl::Array<avl::Image>& inImages, atl::Optional<const avl::Region&> inRoi, avl::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
| 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. |


