cv.medianBlur - MATLAB File Help |
Blurs an image using the median filter
dst = cv.medianBlur(src)
dst = cv.medianBlur(src, 'OptionName',optionValue, ...)
KSize
is 3 or 5, the
image type should be uint8
, uint16
, or single
. For larger aperture
sizes, it can only be uint8
.src
.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.