Cv2MedianBlur Method OpenCvSharp Class Library
Smoothes image using median filter

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void MedianBlur(
	InputArray src,
	OutputArray dst,
	int ksize
)

Parameters

src
Type: OpenCvSharp.CPlusPlusInputArray
The source 1-, 3- or 4-channel image. When ksize is 3 or 5, the image depth should be CV_8U , CV_16U or CV_32F. For larger aperture sizes it can only be CV_8U
dst
Type: OpenCvSharp.CPlusPlusOutputArray
The destination array; will have the same size and the same type as src
ksize
Type: SystemInt32
The aperture linear size. It must be odd and more than 1, i.e. 3, 5, 7 ...
See Also

Reference