You are here: Start » AVL.NET » Function Reference » Image » Image Local Transforms » AVL.SmoothImage_Median_Mask

AVL.SmoothImage_Median_Mask

Replaces each pixel with the median of pixels within a 3x3 rectangular kernel (faster).

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SmoothImage_Median_Mask
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of outImage pixels to be computed. Default value: atl::NIL.
outImageAvlNet.ImageOutput image.

Examples

SmoothImage_Median_Mask performed on a sample image.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

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.

Function Overrides

See also