medianBlur smoothes an image using a median filter, i.e. the value of each pixel is replaced by the median value of all the pixels in its neighborhood.

medianBlur(image, k_size = 5)

Arguments

image

An Image object.

k_size

The half-size in pixels of the kernel (default: 5).

Value

image An Image object.

See also

Author

Simon Garnier, garnier@njit.edu

Examples

# TODO