RASTER_DEBLUR_MEAN_CVIP
raster_deblur_mean_cvip() - raster deblurring filter.
Contents
SYNTAX
[ out_img ] = raster_deblur_mean_cvip( img )
Input Parameter include :
- img - Input image can be gray image or rgb image of MxN size.
Output Parameter include :
- out_img - The output image after raster deblur filter.
DESCRIPTION
This function corrects raster-scan error that may be present in the input image. It operates by replacing the value of every other pixel with the average of its two adjacent pixels. The function first operates on the columns and then on the rows of the input matrix.
REFERENCE
1. Scott E Umbaugh. DIGITAL IMAGE PROCESSING AND ANALYSIS: Applications with MATLAB and CVIPtools, 3rd Edition.
EXAMPLE
% Read image I = imread('car.bmp'); % Calling function [ out_img ] = raster_deblur_mean_cvip( I ); % Display input image figure;imshow(I);title('InputImage'); % Display output image figure; imshow(hist_stretch_cvip(out_img,0,1,0,0),[]);title('Output Image');
CREDITS
Author: Mehrdad Alvandipour, March 2017
Copyright © 2017-2018 Scott
E Umbaugh
For updates visit CVIP Toolbox Website