Table of Contents

Method MedianBlur

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

MedianBlur(InputArray, OutputArray, int)

Smoothes image using median filter

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

Parameters

src InputArray

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 OutputArray

The destination array; will have the same size and the same type as src

ksize int

The aperture linear size. It must be odd and more than 1, i.e. 3, 5, 7 ...