PARAMETRIC_WIENER_FILTER_CVIP

parametric_wiener_filter_cvip() - performs the parameter Wiener restoration filter.

Contents

SYNTAX

Y = parametric_wiener_filter_cvip(d,h,cutoff,limitGain,noiseImage,originalImage,gamma)
Input Parameter includes:

Output Parameter includes :

DESCRIPTION

This function performs the parametric wiener filter operation on a degraded image to restore it back to its original image. The function applies the filter to the fourier spectrum of the degraded image and obtains the restored image by taking the inverse fourier transform of the resultant image.

REFERENCE

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

EXAMPLE

 %original image

                        d = imread('butterfly.gaussian.tif'); % degraded image

                        noiseImage = imread('butterfly.gaussian.tif');  % noise image

                        cutoff =32;

                        gamma = 0.5;

                        originalImage = imread('Butterfly.tif');

                        limitGain = 10;

                        h = [ 2.50 4.500 2.250 :4.500 9.001 4.500 : 2.250 4.500 2.250];   % degradation function.

                        figure;imshow(originalImage);title('Input Image');

                        figure;imshow(d);title('Input Degraded Image');

                        figure;imshow(noiseImage);title('Input noise Image');

                        Y = parametric_wiener_filter_cvip(d,h,cutoff,limitGain,noiseImage,originalImage,gamma);

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

    0.0050


ans =

    0.0050


ans =

    0.0082

CREDITS

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