cv.medianBlur - MATLAB File Help
cv.medianBlur

Blurs an image using the median filter

dst = cv.medianBlur(src)
dst = cv.medianBlur(src, 'OptionName',optionValue, ...)

Input

Output

Options

The function smooths an image using the median filter with the KSize x KSize aperture. Each channel of a multi-channel image is processed independently.

Note: The median filter uses BorderType=Replicate internally to cope with border pixels. See cv.copyMakeBorder.

See also