MINIMUM_FILTER_CVIP

minimum_filter_cvip() - performs a minimum filter on an image.

Contents

SYNTAX

new_image = minimum_filter_cvip( imageP,  mask_size)

Input Parameters include :

Output Parameters include :

DESCRIPTION

This function performs a minimum filtering operation on images that are degraded with salt noise. The noise pixels are found in each block of size mask_size on the input image and are replaced by the minimum pixel value of that block. mask_size should be an odd integer between 3-11.

REFERENCE

1. Scott E Umbaugh. DIGITAL IMAGE PROCESSING AND ANALYSIS: Applications with MATLAB and CVIPtools, 3rd Edition.

EXAMPLE

% Read image

 imageP = imread('FLowers_saltnoise.bmp');

% Mask size

 mask_size = 3;

% Calling function

 new_image = minimum_filter_cvip( imageP,3);

% Display input image

 figure; imshow(imageP);title('Input image');

 figure; imshow(remap_cvip(new_image,[]));title('Output image');

CREDITS

Author:Mehrdad Alvandipour, March 2017
Copyright © 2017-2018 Scott E Umbaugh
For updates visit CVIP Toolbox Website