SIMPLE_WIENER_FILTER_CVIP

simple_wiener_filter_cvip() - Performs simple wiener filter operation.

Contents

SYNTAX

Y = simple_wiener_filter_cvip(d,h,cutoff,limitGain,noiseImage,originalImage,K)

Input Parameters include :

Output Parameter includes :

DESCRIPTION

This function performs the Simple Wiener Filtering operation on a degraded image to restore it to its original state. The wiener filter response increases as the signal-to-noise ratio increases. As the signal-to-noise ratio starts to decrease, the wiener filter response starts to decrease and hence the noise in the image is attenuated. The function multiplies the wiener filter with the fourier transform of the degraded image and obtains the restored image by taking the inverse transform of the resultant image after filteirng. This is also called as Practical wiener filter.

REFERENCE

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

EXAMPLE

% Read image

 origImage = imread('butterfly.tif');

 d = imread('Butterfly.gaussian.tif');

 noiseIm = imread('Butterfly.gaussian.tif');

% Degradation function

 h = [ 2.50 4.500 2.250 :4.500 9.001 4.500 : 2.250 4.500 2.250];

% Limit gain

 limitGain = 10;

% Cutoff frequency

 fc = 32;

 k =  0.6;

% Calling function

 Y = simple_wiener_filter_cvip(d,h,fc,limitGain,noiseIm,origImage,k);

% Display input images

 figure;imshow(origImage); title('Original image');

 figure;imshow(noiseIm);title('Noise image');

 figure;imshow(d); title('Degraded image');

% Display output image

 figure;imshow(remap_cvip(Y)); title('Output Image');

CREDITS

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