Image Restoration : Noise Reduction

Slides:



Advertisements
Similar presentations
Linear Filtering – Part I Selim Aksoy Department of Computer Engineering Bilkent University
Advertisements

Spatial Filtering (Chapter 3)
ECE 472/572 - Digital Image Processing Lecture 7 - Image Restoration - Noise Models 10/04/11.
Digital Image Processing Lecture 11: Image Restoration Prof. Charlene Tsai.
Digital Image Processing Chapter 5: Image Restoration.
Chap 4 Image Enhancement in the Frequency Domain.
Digital Image Processing
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 5 Image Restoration Chapter 5 Image Restoration.
Image Restoration 影像復原 Spring 2005, Jen-Chang Liu.
DIGITAL IMAGE PROCESSING
5. 1 Model of Image degradation and restoration
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Digital Image Processing
Image Restoration.
Digital Image Processing Chapter 5: Image Restoration.
Image Restoration.
Chapter 5 Image Restoration. Preview Goal: improve an image in some predefined sense. Image enhancement: subjective process Image restoration: objective.
Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof.dr. Marcel Breeuwer Noise and Filtering.
Digital Image Processing Lecture 4 Image Restoration and Reconstruction Second Semester Azad University Islamshar Branch
Presentation Image Filters
Antal Nagy Department of Image Processing and Computer Graphics University of Szeged 17th SSIP 2009, July, Debrecen, Hungary1.
1 Chapter 8: Image Restoration 8.1 Introduction Image restoration concerns the removal or reduction of degradations that have occurred during the acquisition.
Chapter 5 Image Restoration.
Image Restoration and Reconstruction (Noise Removal)
Computer Vision - Restoration Hanyang University Jong-Il Park.
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh M.Gholizadeh M.Gholizadeh
Chapter 5 Neighborhood Processing
Digital Image Processing
Chapter 3: Image Restoration Introduction. Image restoration methods are used to improve the appearance of an image by applying a restoration process.
Image processing Fourth lecture Image Restoration Image Restoration: Image restoration methods are used to improve the appearance of an image.
انجمن دانشجویان ایران – مرجع دانلود کتاب ، نمونه سوال و جزوات درسی
Image Restoration Chapter 5.
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Digital Image Processing Lecture : Image Restoration
Chapter 5: Neighborhood Processing
Lecture 5 Mask/Filter Transformation 1.The concept of mask/filters 2.Mathematical model of filtering Correlation, convolution 3.Smoother filters 4.Filter.
Image Restoration Fasih ur Rehman. –Goal of restoration: improve image quality –Is an objective process compared to image enhancement –Restoration attempts.
Digital Image Processing Lecture 10: Image Restoration
8-1 Chapter 8: Image Restoration Image enhancement: Overlook degradation processes, deal with images intuitively Image restoration: Known degradation processes;
Ch5 Image Restoration CS446 Instructor: Nada ALZaben.
Course 2 Image Filtering. Image filtering is often required prior any other vision processes to remove image noise, overcome image corruption and change.
Digital Image Processing Lecture 11: Image Restoration March 30, 2005 Prof. Charlene Tsai.
Chapter 5 Image Restoration.
By Dr. Rajeev Srivastava
Image Restoration. Image restoration vs. image enhancement Enhancement:  largely a subjective process  Priori knowledge about the degradation is not.
Lecture 22 Image Restoration. Image restoration Image restoration is the process of recovering the original scene from the observed scene which is degraded.
6/10/20161 Digital Image Processing Lecture 09: Image Restoration-I Naveed Ejaz.
ECE 533 Project Tribute By: Justin Shepard & Jesse Fremstad.
Digital Image Processing Lecture 10: Image Restoration II Naveed Ejaz.
Lecture 10 Chapter 5: Image Restoration. Image restoration Image restoration is the process of recovering the original scene from the observed scene which.
Digital Image Processing
Image Processing Lab Section 28/3/2016 Prepared by Mahmoud Abdelsatar Demonstrator at IT Dep. Faculty of computers and information Assuit University.
Fundamentals of Spatial Filtering:
Digital Image Processing Lecture 10: Image Restoration
IMAGE PROCESSING IMAGE RESTORATION AND NOISE REDUCTION
Image Pre-Processing in the Spatial and Frequent Domain
Image Restoration Spring 2005, Jen-Chang Liu.
Digital Image Processing
Digital Image Processing
DIGITAL IMAGE PROCESSING
Lecture 11 Image restoration and reconstruction II
Image Analysis Image Restoration.
Digital Image Processing
Noise in Imaging Technology
ENG4BF3 Medical Image Processing
Image Restoration - Focus on Noise
Digital Image Processing Week IV
Department of Computer Engineering
Digital Image Processing Lecture 11: Image Restoration
Presentation transcript:

Image Restoration : Noise Reduction

Image degradation / restoration model

Gaussian Noise

Gaussian Noise : Matlab t_gaus = imnoise (t, ‘gaussian’); imshow(t_gaus); TRY !!

Salt and Pepper Noise

Salt and Pepper Noise : MATLAB t_sp = imnoise (t, ‘salt & pepper’); imshow(t_sp); TRY !!

Other Additive Noise Models Rayleigh Noise Gamma(Erlang) Noise Exponential Noise Uniform Noise Impulse Noise

Other Additive Noises

Other Additive Noises

Periodic Noise Noise components Periodic noise can be reduced in via frequency domain Are generated due to electrical or electromechanical interference during image acquisition

Periodic Noise : MATLAB tw = imread(filename); t = rgb2gray(tw); s = size(t); [x,y] = meshgrid(1:s(1), 1:s(2)); p = sin(x/3+y/5)+1; t_pn = (im2double(t)+p’/2)/2; imshow(t_pn); TRY !!

Restoration by Spatial Filtering

Rank-Order Filter Sort intensity Sort the intensities within the mask. Choose the intensity at ith position as output. Min. filter 10 20 10 15 5 5 10 10 13 13 5 5 20 11 11 20 20 20 15 15 5 Median filter Sort intensity 10 8 8 10 10 20 15 10 Max. filter

Rank-Order Filter

Rank-Order Filter Max filter = mengambil pixel dengan nilai tinggi Min filter = mengambil pixel dengan nilai rendah

Rank-Order Filter : Max Filter Output pixel is the maximum intensity of the pixels within the mask. (find brightest point) BEFORE AFTER Image corrupted by pepper noise

Rank-Order Filter : Min Filter Output pixel is the minimum intensity of the pixels within the mask. (find darkest point) BEFORE AFTER Image corrupted by salt noise

Rank-Order Filter : Median Filter -- Repeated passes of median filter tend to blur the image. -- Keep the number of passes as low as possible.

Rank-Order Filter : Median Filter Output pixel is the mid-intensity of the pixels within the mask (the median intensity). Adaptive median filter memiliki tujuan ganda yaitu menghapus impuls noise pada gambar dan mengurangi distorsi pada gambar.

Rank-Order Filter : Median Filter BEFORE AFTER 3x3 Kernel

Rank-Order Filtering: MATLAB Command: ordfilt2 Syntax: ordfilt2(image, order, domain); medfilt2(image); image : input image order : which order of the sorted intensity (minimum to maximum value) taken as output domain : matrix indicating the neighborhood. 1 : pixels in the neighbor. 0 : pixels not in the neighbor E.g. cmin = ordfilt2(image, 1, ones(3,3)); Try to restore Salt and Pepper Noise by Median Filter !!

Mean Filters Arithmetic & Geometric

Mean Filters Arithmetic & Geometric

Mean Filter Good Results of Geometric Mean Filter BEFORE AFTER Image corrupted by Gaussian noise with variance = 300, mean = 0

Mean Filter : Bad Results of Geometric Mean Filter BEFORE AFTER Image corrupted by pepper noise with probability = 0.4

Mean Filters Harmonic

Mean Filters Contraharmonic

Mean Filters Good Results of Contraharmonic Mean Filter Pepper noise Salt noise

Mean Filters Bad Results of Contraharmonic Mean Filter Arithmetic mean filter and geometric mean filter are well suited for random noise such as Gaussian noise Contraharmonic mean filter is well suited for impulse noise Disadvantage: must know pepper noise or salt noise in advance

Order-statistic Filters

Order-statistic Filters Alpha-Trimmed Mean Filter Output is the mean of the data after removing the first d/2 and the last d/2 ordered data. d =2 10 20 10 15 5 Trim the data by 2. (1 from the top. 1 from the bottom.) 5 10 13 5 5 8 20 11 20 20 15 5 10 Sort intensity Output = average intensity of the remaining data. = 9.5 11 10 8 10 13 10 20 15 10 15 20

Order-statistic Filters Effect of Alpha-Trimmed Mean Filter BEFORE AFTER Image corrupted by salt-and-pepper noise with variance = 200, mean = 0 Trim size = 2, mask size =1

Median and alpha-trimmed filter performed better High level of noise  large filter Median and alpha-trimmed filter performed better Alpha-trimmed did better than median filter

Periodic Noise Reduction Frequency Domain Filtering  Band Reject Filters (Selective Filter) Ideal Band-Reject Filters -D(u,v) =distance from the origin of the centered freq. rectangle -W =width of the band -D0=Radial center of the band.

Periodic Noise Reduction Frequency Domain Filtering  Band Reject Filters Butterworth Band-Reject Filter of Order n Gaussian and-Reject Filter

Periodic Noise Reduction Frequency Domain Filtering  Band Reject Filters

Periodic Noise Reduction Frequency Domain Filtering  Band Pass Filters Opposite operation of a band-reject filter

Periodic Noise Reduction Frequency Domain Filtering  Notch Filters Rejects (or passes) frequencies in predefined neighborhoods about a center frequency Must appear in symmetric pairs about the origin. Ideal Butterworth Gaussian

Periodic Noise Reduction Frequency Domain Filtering  Notch Filters Ideal Notch Filters Center frequency components Shift with respect to the center

Notch pass filter Horizontal lines of the noise pattern I can be seen

Tugas Cari tahu bagaimana cara menghilangkan periodic noise menggunakan band-reject filter, band-pass filter atau notch filter pada MATLAB. Simulasikan dan analisis hasilnya