medianblurcv

Applies the median filter to blur an image.

Syntax

R = medianblurcv(handle, size)

Inputs

handle
Handle of an image.
Type: integer
size
Aperture linear size. The value of this must be an odd integer greater than 1.
Type: integer

Outputs

R
Handle of the output image.
Type: integer

Example

Blur an image using the median filter:

handle = imreadcv('bird1.jpg', 45);
R = medianburcv(handle);
Figure 1. Input image


Figure 2. Output image