
Median filtering
The following dialog allows you to apply a median filter to the current image. You can see the result (the whole image or part of image at full size) instantly from the preview window.
The median filter is widely used for removing salt-and-pepper type of noise. You can specify the sample size of the filter. A larger sample size works better for noise removal, however, it also makes the blurring effect more visible. So a filter with sample size 3 will be a good starting point.
The following example shows an image before and after the median filtering.
The original image with noise:

After a median filter (with sample size 3) is applied:

You can limit the effect to the selected region. First select the region using the selection tool and then apply this function. One example is shown here.

![]() |
VIPBase © 2006 Fengjun Lv |
Last update: 08/01/2006 (check html) |
