Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Local Transforms » SmoothImage_Median_Mask

SmoothImage_Median_Mask
Replaces each pixel with the median of pixels within a 3x3 rectangular kernel (faster).
Syntax
C++
C#
void avl::SmoothImage_Median_Mask ( const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, avl::Image& outImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
inRoi | Optional<const Region&> | NIL | Range of outImage pixels to be computed |
![]() |
outImage | Image& | Output image |
Examples
![]() |
![]() |
SmoothImage_Median_Mask performed on a sample image.
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.