Noise and Restoration of Images

Similar documents
Image acquisition. Midterm Review. Digitization, line of image. Digitization, whole image. Geometric transformations. Interpolation 10/26/2016

Enhancement. Degradation model H and noise must be known/predicted first before restoration. Noise model Degradation Model

8. Lecture. Image restoration: Fourier domain

Color Image Processing

Midterm Review. Image Processing CSE 166 Lecture 10

Image Enhancement. DD2423 Image Analysis and Computer Vision. Computational Vision and Active Perception School of Computer Science and Communication

December 28, Dr. Praveen Sankaran (Department of ECE NIT Calicut DIP)

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

GAUSSIAN DE-NOSING TECHNIQUES IN SPATIAL DOMAIN FOR GRAY SCALE MEDICAL IMAGES Nora Youssef, Abeer M.Mahmoud, El-Sayed M.El-Horbaty

DIGITAL IMAGE PROCESSING UNIT III

Automatic processing to restore data of MODIS band 6

Performance Analysis of Average and Median Filters for De noising Of Digital Images.

Digital Image Processing

Digital Image Processing

ECE 484 Digital Image Processing Lec 10 - Image Restoration I

e-issn: p-issn: X Page 145

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

Image restoration and color image processing

Anna University, Chennai B.E./B.TECH DEGREE EXAMINATION, MAY/JUNE 2013 Seventh Semester

Table of contents. Vision industrielle 2002/2003. Local and semi-local smoothing. Linear noise filtering: example. Convolution: introduction

Image analysis. CS/CME/BIOPHYS/BMI 279 Fall 2015 Ron Dror

Image Restoration. Lecture 7, March 23 rd, Lexing Xie. EE4830 Digital Image Processing

DARK CURRENT ELIMINATION IN CHARGED COUPLE DEVICES

A Comparative Review Paper for Noise Models and Image Restoration Techniques

Image Enhancement in spatial domain. Digital Image Processing GW Chapter 3 from Section (pag 110) Part 2: Filtering in spatial domain

IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Image Restoration Techniques: A Survey

Image Restoration. Lecture 7, March 23 rd, Lexing Xie. EE4830 Digital Image Processing

Part I Feature Extraction (1) Image Enhancement. CSc I6716 Spring Local, meaningful, detectable parts of the image.

1.Discuss the frequency domain techniques of image enhancement in detail.

Filtering in the spatial domain (Spatial Filtering)

Chapter 6. [6]Preprocessing

Image Enhancement in the Spatial Domain

Image Enhancement using Histogram Equalization and Spatial Filtering

Interpolation of CFA Color Images with Hybrid Image Denoising

1. (a) Explain the process of Image acquisition. (b) Discuss different elements used in digital image processing system. [8+8]

An Efficient Noise Removing Technique Using Mdbut Filter in Images

Computer Vision, Lecture 3

Non Linear Image Enhancement

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTING DEPARTMENT OF CSE COURSE PLAN

Stochastic Image Denoising using Minimum Mean Squared Error (Wiener) Filtering

Last Lecture. Lecture 2, Point Processing GW , & , Ida-Maria Which image is wich channel?

Noise Detection and Noise Removal Techniques in Medical Images

Spatial Domain Processing and Image Enhancement

Computing for Engineers in Python

LAB MANUAL SUBJECT: IMAGE PROCESSING BE (COMPUTER) SEM VII

SYLLABUS CHAPTER - 2 : INTENSITY TRANSFORMATIONS. Some Basic Intensity Transformation Functions, Histogram Processing.

IMAGE PROCESSING: POINT PROCESSES

A Comprehensive Review on Image Restoration Techniques

Introduction. Computer Vision. CSc I6716 Fall Part I. Image Enhancement. Zhigang Zhu, City College of New York

Digital Imaging Systems for Historical Documents

EE4830 Digital Image Processing Lecture 7. Image Restoration. March 19 th, 2007 Lexing Xie ee.columbia.edu>

Algorithm for Image Processing Using Improved Median Filter and Comparison of Mean, Median and Improved Median Filter

SRI VENKATESWARA COLLEGE OF ENGINEERING. COURSE DELIVERY PLAN - THEORY Page 1 of 6

Image Deblurring. This chapter describes how to deblur an image using the toolbox deblurring functions.

Image Denoising Using Statistical and Non Statistical Method

Blind Single-Image Super Resolution Reconstruction with Defocus Blur

C. Efficient Removal Of Impulse Noise In [7], a method used to remove the impulse noise (ERIN) is based on simple fuzzy impulse detection technique.

Digital Image Processing

Image Denoising using Filters with Varying Window Sizes: A Study

Audio Restoration Based on DSP Tools

DIGITAL IMAGE DE-NOISING FILTERS A COMPREHENSIVE STUDY

Templates and Image Pyramids

Examples of image processing

Image De-noising Using Linear and Decision Based Median Filters

Prof. Vidya Manian Dept. of Electrical and Comptuer Engineering

PERFORMANCE ANALYSIS OF LINEAR AND NON LINEAR FILTERS FOR IMAGE DE NOISING

FUZZY BASED MEDIAN FILTER FOR GRAY-SCALE IMAGES

Image Processing for feature extraction

PRACTICAL IMAGE AND VIDEO PROCESSING USING MATLAB

A Study On Preprocessing A Mammogram Image Using Adaptive Median Filter

Chapter 3. Study and Analysis of Different Noise Reduction Filters

CoE4TN4 Image Processing. Chapter 4 Filtering in the Frequency Domain

10. Noise modeling and digital image filtering

Computation Pre-Processing Techniques for Image Restoration

Lecture #10. EECS490: Digital Image Processing

Reading Instructions Chapters for this lecture. Computer Assisted Image Analysis Lecture 2 Point Processing. Image Processing

Removal of High Density Salt and Pepper Noise through Modified Decision based Un Symmetric Trimmed Median Filter

Digital Image Processing

An Efficient Nonlinear Filter for Removal of Impulse Noise in Color Video Sequences

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

CS/ECE 545 (Digital Image Processing) Midterm Review

IMAGE ENHANCEMENT - POINT PROCESSING

TDI2131 Digital Image Processing

Digital Image Processing 3/e

ECU 3040 Digital Image Processing

Digital Image Processing 3 rd Edition. Rafael C.Gonzalez, Richard E.Woods Prentice Hall, 2008

This content has been downloaded from IOPscience. Please scroll down to see the full text.

A.V.C. COLLEGE OF ENGINEERING DEPARTEMENT OF CSE CP7004- IMAGE PROCESSING AND ANALYSIS UNIT 1- QUESTION BANK

CS534 Introduction to Computer Vision. Linear Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

Practical Image and Video Processing Using MATLAB

Exhaustive Study of Median filter

An Efficient Gaussian Noise Removal Image Enhancement Technique for Gray Scale Images V. Murugan, R. Balasubramanian

Literature Survey On Image Filtering Techniques Jesna Varghese M.Tech, CSE Department, Calicut University, India

Reduction of Impulsive Noise in Continuous- Tone Images by Regression Analysis

Design of Novel Filter for the Removal of Gaussian Noise in Plasma Images

Templates and Image Pyramids

Announcements. Image Processing. What s an image? Images as functions. Image processing. What s a digital image?

Study of Various Image Enhancement Techniques-A Review

Transcription:

Noise and Restoration of Images Dr. Praveen Sankaran Department of ECE NIT Calicut February 24, 2013 Winter 2013 February 24, 2013 1 / 35

Outline 1 Noise Models 2 Restoration from Noise Degradation 3 Estimation of Degradation 4 Restoration from Degradation Inverse and Wiener Filtering Constrained Least Squares Filtering Winter 2013 February 24, 2013 2 / 35

Noise Models Degradation Model All digital images have some amount of noise and/or some form of degradation in them. Some have more due to varying sources Acquisition Environmental conditions. quality of sensing elements - CCD noise. Transmission Formation Blur Quantization noise Winter 2013 February 24, 2013 3 / 35

Noise Models Degradation Model g [x, y] = f [x, y] h [s, t] + η [x, y] (1) η uncorrelated noise (no relation between noise and pixel value of the image). think of an example where both could be correlated? Winter 2013 February 24, 2013 4 / 35

Noise Models Noise Models Winter 2013 February 24, 2013 5 / 35

Noise Models Noise Models - Explained Winter 2013 February 24, 2013 6 / 35

Noise Models In Color - Gaussian Winter 2013 February 24, 2013 7 / 35

Noise Models In Color - Uniform Winter 2013 February 24, 2013 8 / 35

Noise Models Periodic Noise Winter 2013 February 24, 2013 9 / 35

Noise Models Identifying System Noise Imaging system available Capture a set of images of at environments - image a solid gray board that is illuminated uniformly. Imaging system NOT available, we have only the images Estimate parameters from small patches of roughly constant background. We already know how to calculate mean and variance from a histogram. Winter 2013 February 24, 2013 10 / 35

Restoration from Noise Degradation Model - Simplied g [x, y] = f [x, y] + η [x, y] (2) G [u, v] = F [u, v] + N [u, v] (3) Noise term is unknown No blind subtraction possible. Spatial ltering is used mostly. Winter 2013 February 24, 2013 11 / 35

Restoration from Noise Degradation Typical Filters We have come across a lot of these already. Filter of size m n Arithmetic mean: Noise reduced as a result of blurring. Geometric mean: 1/mn { ˆf [x, y] = f [s, t]} (4) s,t Harmonic mean: works for salt, fails for pepper mn ˆf [x, y] = 1 g [s, t] s,t Contra-harmonic mean: works well to remove salt&pepper g [s, t] Q+1 s,t ˆf [x, y] = (6) g [s, t] Q s,t Winter 2013 February 24, 2013 12 / 35 (5)

Restoration from Noise Degradation Typical Filters We have come across a lot of these already. Filter of size m n Arithmetic mean: Noise reduced as a result of blurring. Geometric mean: 1/mn { ˆf [x, y] = f [s, t]} (4) s,t Harmonic mean: works for salt, fails for pepper mn ˆf [x, y] = 1 g [s, t] s,t Contra-harmonic mean: works well to remove salt&pepper g [s, t] Q+1 s,t ˆf [x, y] = (6) g [s, t] Q s,t Winter 2013 February 24, 2013 12 / 35 (5)

Restoration from Noise Degradation Typical Filters We have come across a lot of these already. Filter of size m n Arithmetic mean: Noise reduced as a result of blurring. Geometric mean: 1/mn { ˆf [x, y] = f [s, t]} (4) s,t Harmonic mean: works for salt, fails for pepper mn ˆf [x, y] = 1 g [s, t] s,t Contra-harmonic mean: works well to remove salt&pepper g [s, t] Q+1 s,t ˆf [x, y] = (6) g [s, t] Q s,t Winter 2013 February 24, 2013 12 / 35 (5)

Restoration from Noise Degradation Typical Filters We have come across a lot of these already. Filter of size m n Arithmetic mean: Noise reduced as a result of blurring. Geometric mean: 1/mn { ˆf [x, y] = f [s, t]} (4) s,t Harmonic mean: works for salt, fails for pepper mn ˆf [x, y] = 1 g [s, t] s,t Contra-harmonic mean: works well to remove salt&pepper g [s, t] Q+1 s,t ˆf [x, y] = (6) g [s, t] Q s,t Winter 2013 February 24, 2013 12 / 35 (5)

Restoration from Noise Degradation Illustration Winter 2013 February 24, 2013 13 / 35

Restoration from Noise Degradation Illustration Winter 2013 February 24, 2013 14 / 35

Restoration from Noise Degradation Order Static Filters 1 Median lter: ˆf [x, y] = median s,t Sxy {f [s, t]} (7) 2 MinMax lters: 3 Mid point lter: ˆf [x, y] = 1 2 { maxs,t Sxy {f [s, t]} + min s,t S xy {f [s, t]}} (8) Winter 2013 February 24, 2013 15 / 35

Restoration from Noise Degradation Adaptive Median Filter Key idea variable window area S xy to work with. So how do we decide what area to work with? provide conditions. Assumptions z min = minimum intensity, z max = maximum intensity, z med = median z xy = value at point [x, y] S max = maximum threshold of window size. Winter 2013 February 24, 2013 16 / 35

Restoration from Noise Degradation Adaptive - Conditions Stage 1 A 1 = z med z min A 2 = z med z max If A 1 > 0 and A 2 < 0, go to Stage 2. Else increase the window size. If window size S max, repeat Stage 1. Else output z med. Stage 2 B 1 = z xy z min B 2 = z xy z max If B 1 > 0 and B 2 < 0, output z xy. Else, output z xy. Winter 2013 February 24, 2013 17 / 35

Restoration from Noise Degradation Periodic Noise - Frequency Filtering Idea selectively lter out frequencies relating to noise. Can have band-reject, band-pass or notch lters. Example: band-reject Winter 2013 February 24, 2013 18 / 35

Illustration

Estimation of Degradation Estimation of Degradation 1 Observation 2 Experimentation 3 Mathematical modeling Winter 2013 February 24, 2013 20 / 35

Estimation of Degradation Degradation Model g [x, y] = H [f [x, y]] = H [x, y] F [x, y] (9) G [u, v] = H [u, v]f [u, v] (10) Let's assume for now, η [x, y] = 0 (11) Winter 2013 February 24, 2013 21 / 35

Modeling Atmospheric Turbulence H [u, v] = e k[u2 +v 2 ] 5 /6 (12)

Restoration from Degradation Inverse and Wiener Filtering Outline 1 Noise Models 2 Restoration from Noise Degradation 3 Estimation of Degradation 4 Restoration from Degradation Inverse and Wiener Filtering Constrained Least Squares Filtering Winter 2013 February 24, 2013 23 / 35

Restoration from Degradation Inverse and Wiener Filtering Inverse Filtering ˆF [u, v] = G [u, v] H [u, v] (13) Issue Presence of noise in the image. ˆF [u, v] = F [u, v] + N [u, v] H [u, v] (14) The degradation function may have zero or small values - a real possibility as we move away from the center point of the DFT image. N [u, v] H [u, v] large! Have to cut-o small values, so have to nd an optimal cut-o frequency in the DFT image. Winter 2013 February 24, 2013 24 / 35

Restoration from Degradation Inverse and Wiener Filtering Inverse Filtering Problem Illustration Winter 2013 February 24, 2013 25 / 35

Restoration from Degradation Inverse and Wiener Filtering Inverse Filtering Problem Illustration Winter 2013 February 24, 2013 26 / 35

Restoration from Degradation Inverse and Wiener Filtering Wiener Filtering - Variables Idea minimize mean square error between the uncorrupted image and the corrupted image. { ( ) } e 2 = E f ˆf 2 (15) H [u, v] = degradation function, H [u, v] = complex conjugate of H [u, v], S η [u, v] = N [u, v] 2 = power spectrum of the noise, (auto correlation of noise) S f [u, v] = F [u, v] 2 = power spectrum of the undegraded image. (auto correlation of the image) Winter 2013 February 24, 2013 27 / 35

Restoration from Degradation Inverse and Wiener Filtering Wiener Filter Equation [ ] H ˆF [u, v]s f [u, v] [u, v] = S f [u, v] H [u, v] 2 G [u, v] (16) + S η [u, v] [ ] 1 H [u, v] 2 = H [u, v] H [u, v] 2 G [u, v] (17) + S η [u,v]/s f [u,v] [ ] 1 H [u, v] 2 H [u, v] H [u, v] 2 G [u, v] (18) + K The last equation approximates the wiener lter equation since in most cases we do not know accurately the power spectrum of both noise and the un-degraded image. Winter 2013 February 24, 2013 28 / 35

Restoration from Degradation Inverse and Wiener Filtering Comparative Illustration between Inverse Filtering and Wiener Filtering Winter 2013 February 24, 2013 29 / 35

Restoration from Degradation Inverse and Wiener Filtering Comparative Illustration 2 Winter 2013 February 24, 2013 30 / 35

Restoration from Degradation Constrained Least Squares Filtering Outline 1 Noise Models 2 Restoration from Noise Degradation 3 Estimation of Degradation 4 Restoration from Degradation Inverse and Wiener Filtering Constrained Least Squares Filtering Winter 2013 February 24, 2013 31 / 35

Restoration from Degradation Constrained Least Squares Filtering Variables - Introduction g = Hf + η (19) g, f, η are vectorized form of the the 2D structure, of size MN 1. H MN MN. Objective is to minimize, Criterion function, C = M 1 N 1 x=0 y=0 [ 2 f [x, y] ] 2 (20) Laplacian again. So sort of reduce sharpness. With constraint: g H^f 2 = η 2 (21) Winter 2013 February 24, 2013 32 / 35

Restoration from Degradation Constrained Least Squares Filtering Final Frequency Domain Form [ ] H ˆF [u, v] [u, v] = H [u, v] 2 + γ P [u, v] 2 G [u, v] (22) 0 1 0 P [u, v] = I p [x, y] = 1 4 1 (23) 0 1 0 Okay! So we end up nding an approximation to γ here instead of K in Wiener ltering. γ is a scalar value, K was the ratio of two unknown frequency functions. Adjusting γ is easier and better. Note that we did not really make use of the constraint function till now. That can be made use of, if in need of optimal results. Winter 2013 February 24, 2013 33 / 35

Restoration from Degradation Constrained Least Squares Filtering Questions to solve 1-9 (you may write simple matlab codes and observe the eect for each). 10, 11 18 (We havent gone through this, you may solve this out of interest). 22,23 Winter 2013 February 24, 2013 34 / 35

Restoration from Degradation Constrained Least Squares Filtering Reference Lecture Notes: Reduction of Uncorrelated Noise: Richard Alan Peters II http://www.owlnet.rice.edu/~elec539/projects99/bach/proj2/inverse.ht Winter 2013 February 24, 2013 35 / 35