Click or drag to resize

Cv2MedianBlur Method

Smoothes image using median filter

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void MedianBlur(
	InputArray src,
	OutputArray dst,
	int ksize
)

Parameters

src
Type: OpenCvSharpInputArray
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: OpenCvSharpOutputArray
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