You are here: Start » FIL.NET » Function Reference » Image » Image Local Transforms » FIL.SmoothImage_Median
Replaces each pixel with the median of pixels within a kernel.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void SmoothImage_Median ( FilNet.Image inImage, FilNet.SmoothImageMedianKernel inKernel, int inRadiusX, FilNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inKernel | FilNet.SmoothImageMedianKernel | |||
![]() | inRadiusX | int | <0, INF> | 1 | Nearly half of the kernel's width (2*R+1). Default value: 1. |
![]() | outImage | FilNet.Image | Output image. |
Examples
![]() |
![]() |
SmoothImage_Median performed on a sample image with inRadiusX = 4, inRadiusY = Nil.
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 | Not supported kernel in SmoothImage_Median. |
DomainError | Not supported pixel format in SmoothImage_Median. |
DomainError | Region exceeds an input image in SmoothImage_Median. |
DomainError | Source roi exceeds an input image in SmoothImage_Median. |
DomainError | Not supported inImage pixel format in SmoothImage_Median. Supported formats: UInt8. |