You are here: Start » AVL.NET » Invoke.SmoothImage_Median
Replaces each pixel with the median of pixels within a kernel.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void SmoothImage_Median ( Avl.Image inImage, Optional<Avl.Region> inRoi, Optional<Avl.Region> inSourceRoi, Avl.SmoothImageMedianKernel inKernel, int inRadiusX, Optional<int> inRadiusY, Avl.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Atl.Optional<Avl.Region> | Range of outImage pixels being written. Default value: atl::NIL. | ||
![]() | inSourceRoi | Atl.Optional<Avl.Region> | Range of inImage pixels being read. Default value: atl::NIL. | ||
![]() | inKernel | Avl.SmoothImageMedianKernel | |||
![]() | inRadiusX | int | <0, INF> | 1 | Nearly half of the kernel's width (2*R+1). Default value: 1. |
![]() | inRadiusY | Atl.Optional<int> | <0, INF> | Nearly half of the kernel's height (2*R+1), or same as inRadiusX. Default value: atl::NIL. | |
![]() | outImage | Avl.Image | Output image. |