Back to Aurora Vision Library Lite website
You are here: Start » Image » Image Local Transforms » SmoothImage_Median_Mask
SmoothImage_Median_Mask
Header: | AVL.h |
---|---|
Namespace: | avl |
Replaces each pixel with the median of pixels within a 3x3 rectangular kernel (faster).
Syntax
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 |
Requirements
For input inImage only pixel formats are supported: uint8.
Read more about pixel formats in Image documentation.
Examples
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region exceeds an input image in SmoothImage_Median_Mask. |
DomainError | Not supported inImage pixel format in SmoothImage_Median_Mask. Supported formats: UInt8. |