Image restoration. Restoration: Enhancement:

Similar documents
Image Restoration and Reconstruction

Image Restoration and Reconstruction

Image Processing Lecture 10

CoE4TN3 Medical Image Processing

x' = c 1 x + c 2 y + c 3 xy + c 4 y' = c 5 x + c 6 y + c 7 xy + c 8

CoE4TN4 Image Processing. Chapter 5 Image Restoration and Reconstruction

Noise Model. Important Noise Probability Density Functions (Cont.) Important Noise Probability Density Functions

Digital Image Processing

VU Signal and Image Processing. Image Restoration. Torsten Möller + Hrvoje Bogunović + Raphael Sahann

UNIT III : IMAGE RESTORATION

Point and Spatial Processing

Image Processing. Traitement d images. Yuliya Tarabalka Tel.

Image Enhancement in the Frequency Domain Periodicity and the need for Padding:

Digital Image Processing Chapter 5: Image Restoration

PSD2B Digital Image Processing. Unit I -V

Image Enhancement: To improve the quality of images

Filtering and Enhancing Images

CHAPTER 3 IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN

Image Enhancement in Spatial Domain (Chapter 3)

Chapter 3: Intensity Transformations and Spatial Filtering

Vivekananda. Collegee of Engineering & Technology. Question and Answers on 10CS762 /10IS762 UNIT- 5 : IMAGE ENHANCEMENT.

Image Restoration Chapter 5. Prof. Vidya Manian Dept. of Electrical and Computer Engineering INEL 5327 ECE, UPRM

f(x,y) is the original image H is the degradation process (or function) n(x,y) represents noise g(x,y) is the obtained degraded image p q

Digital Image Fundamentals

Digital Image Processing, 2nd ed. Digital Image Processing, 2nd ed. The principal objective of enhancement

Non-Blind Deblurring Using Partial Differential Equation Method

Unit - I Computer vision Fundamentals

Chapter4 Image Enhancement

Digital Image Processing. Prof. P. K. Biswas. Department of Electronic & Electrical Communication Engineering

Digital Image Processing. Image Enhancement in the Spatial Domain (Chapter 4)

EE795: Computer Vision and Intelligent Systems

Introduction to Digital Image Processing

Digital Image Processing

Lecture 4: Spatial Domain Transformations

IMAGE DE-NOISING IN WAVELET DOMAIN

SYDE 575: Introduction to Image Processing

Filtering Images. Contents

IT Digital Image ProcessingVII Semester - Question Bank

Topic 4 Image Segmentation

INTENSITY TRANSFORMATION AND SPATIAL FILTERING

2D Image Processing INFORMATIK. Kaiserlautern University. DFKI Deutsches Forschungszentrum für Künstliche Intelligenz

CHAPTER 2 ADAPTIVE DECISION BASED MEDIAN FILTER AND ITS VARIATION

Computer Vision I - Basics of Image Processing Part 1

An Intuitive Explanation of Fourier Theory

EECS 556 Image Processing W 09. Image enhancement. Smoothing and noise removal Sharpening filters

SECTION 5 IMAGE PROCESSING 2

UNIT - 5 IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Spatial Enhancement Definition

Image Enhancement. Digital Image Processing, Pratt Chapter 10 (pages ) Part 1: pixel-based operations

Overview Module 03. Image Restoration and Freq. Filtering & Color Imaging and Transformations. Model of Image Degradation/Restoration

Image Enhancement 3-1

EEM 463 Introduction to Image Processing. Week 3: Intensity Transformations

Part 3: Image Processing

Linear Operations Using Masks

Biomedical Image Analysis. Homomorphic Filtering and applications to PET

Image Processing. Filtering. Slide 1

Digital Image Processing COSC 6380/4393

Examination in Image Processing

CS4442/9542b Artificial Intelligence II prof. Olga Veksler

1.Some Basic Gray Level Transformations

Restoration of Images Corrupted by Mixed Gaussian Impulse Noise with Weighted Encoding

Digital Image Processing

Digital Image Processing

Review for Exam I, EE552 2/2009

Introduction to Digital Image Processing

Lecture 2 Image Processing and Filtering

Coding and Modulation in Cameras

C E N T E R A T H O U S T O N S C H O O L of H E A L T H I N F O R M A T I O N S C I E N C E S. Image Operations I

Image Restoration: The Problem and Basic Approaches

Islamic University of Gaza Faculty of Engineering Computer Engineering Department

CS4442/9542b Artificial Intelligence II prof. Olga Veksler

Biometrics Technology: Image Processing & Pattern Recognition (by Dr. Dickson Tong)

Hybrid filters for medical image reconstruction

A Real-time Algorithm for Atmospheric Turbulence Correction

IMAGE ENHANCEMENT in SPATIAL DOMAIN by Intensity Transformations

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

Reconstruction of Images Distorted by Water Waves

Blur Space Iterative De-blurring

LOCAL-GLOBAL OPTICAL FLOW FOR IMAGE REGISTRATION

Hom o om o or o phi p c Processing

Lecture 3 - Intensity transformation

A Switching Weighted Adaptive Median Filter for Impulse Noise Removal

Image Restoration Image Degradation and Restoration

NEW HYBRID FILTERING TECHNIQUES FOR REMOVAL OF GAUSSIAN NOISE FROM MEDICAL IMAGES

Outlines. Medical Image Processing Using Transforms. 4. Transform in image space

Lecture Image Enhancement and Spatial Filtering

Lecture: Edge Detection

Image restoration and enhancement: Nonlinear filters.

SEMI-BLIND IMAGE RESTORATION USING A LOCAL NEURAL APPROACH

New feature preserving noise removal algorithm based on thediscrete cosine transform and the a prior knowledge of pixel type.

Image Acquisition + Histograms

VC 16/17 TP5 Single Pixel Manipulation

A Comparative Study & Analysis of Image Restoration by Non Blind Technique

Intensity Transformations and Spatial Filtering

C2: Medical Image Processing Linwei Wang

Basic relations between pixels (Chapter 2)

Filtering (I) Dr. Chang Shu. COMP 4900C Winter 2008

EELE 5310: Digital Image Processing. Lecture 2 Ch. 3. Eng. Ruba A. Salamah. iugaza.edu

Robust Model-Free Tracking of Non-Rigid Shape. Abstract

EELE 5310: Digital Image Processing. Ch. 3. Eng. Ruba A. Salamah. iugaza.edu

Transcription:

Image restoration Most images obtained by optical, electronic, or electro-optic means is likely to be degraded. The degradation can be due to camera misfocus, relative motion between camera and object, noise in electronic sensors, atmospheric turbulence, etc. The goal of image restoration is to obtain a relatively clean image from the degraded observation. It involves techniques like filtering, noise reduction etc. Restoration: A process that attempts to reconstruct or recover an image that has been degraded by using some prior knowledge of the degradation phenomenon. Involves modeling the degradation process and applying the inverse process to recover the original image. A criterion for goodness is required that will recover the image in an optimal fashion with respect to that criterion. Ex. Removal of blur by applying a deblurring function. Enhancement: Manipulating an image in order to take advantage of the psychophysics of the human visual system. Techniques are usually heuristic. Ex. Contrast stretching, histogram equalization.

(Linear) Degradation Model η( f ( h( + g( g( ( f ( * h( ) + η( G( u, v) H ( u, v) F( u, v) + N( u, v) f ( : Degradation free image g ( : Observed image h ( : PSS of blur degradation η ( : Additive Noise Problem: Given an observed image g (, to recover the original image f (, using knowledge out the blur function h ( and the characteristics of the noise η (.? We need to find an image f ˆ(, such that the error f ( fˆ( is small.

Noise Models With the exception of periodic interference, we will assume that noise values are uncorrelated from pixel to pixel and with the (uncorrupted) image pixel values. These assumptions are usually met in practice and simplify the analysis. With these assumptions in hand, we need to only describe the statistical properties of noise; i.e., its probility density function (PDF). Gaussian noise Mathematically speaking, it is the most tractle noise model. Therefore, it is often used in practice, even in situations where they are not well justified from physical principles. The pdf of a Gaussian random varile z is given by: 1 ( z µ ) / σ p ( z) e, πσ where z represents (noise) gray value, µ is the mean, and σ is its standard deviation. The squared standard deviation σ is usually referred to as variance For a Gaussian pdf, approximately 70% of the values are within one standard deviation of the mean and 95% of the values are within two standard deviations of the mean. Rayleigh noise The pdf of a Rayleigh noise is given by:

p( z) b ( z a) e 0 ( z a) The mean and variance are given by: µ a + πb / 4 σ b(4 π) 4 / b for z a for z < a This noise is one-sided and the density function is skewed. Erlang(Gamma) noise The pdf of Erlang noise is given by: p( z) b b 1 a z e ( b 1)! 0 az for z 0, for z < 0 where, a > 0, b is an integer and! represents factorial. The mean and variance are given by: b µ a b σ a This noise is one-sided and the density function is skewed. Exponential noise The pdf of exponential noise is given by: where, a > 0. p( z) ae az 0 for z 0, for z < 0

The mean and variance are given by: 1 µ a σ 1 This is a special case of Erlang density with b1. a Uniform noise The pdf of uniform noise is given by: 1 for a z b p ( z) b a, 0 otherwise where, a > 0, b is an integer and! represents factorial. The mean and variance are given by: a + b µ ( b a) σ 1 Impulse (salt-and-pepper) noise The pdf of (bipolar) impulse noise is given by: b P a a for z a p( z) P 1 P for z b, 0 otherwise where, a > 0, b is an integer and! represents factorial.

Plot of density function of different noise models

Test pattern and illustration of the effect of different types of noise

Estimation of noise parameters The noise pdf is usually availle from sensor specifications. Sometimes, the form of the pdf is knowm from physical modeling. The pdf (or parameters of the pdf) are also often estimated from the image. Typically, if feasible, a flat uniformly illuminated surface is imaged using the imaging system. The histogram of the resulting image is usually a good indicator of the noide pdf. If that is not possible, we can usually choose a small patch of an image that is relatively uniform and compute a histogram of the image over that region. Using the hitogra we can estimate the noise mean and variance as follows:

µ σ i S i S z p( z ) i ( z i i µ ) p( z ) where z i is the grayvalue of pixel i in S, and p( z i ) is the histogram value. The shape of the histogram identifies the closest pdf match. The mean and variance are used to solve for the parameters a and b in the density function. i

Restoration in the presence of only noise In this case, the degradation equation becomes: g( m. f ( + η( G( u, v) F( u, v) + N( u, v) Spatial filtering is usually the best method to restore images corrupted purely by noise. The process is similar to that of image enhancement. Mean filter Arithmetic mean Let S be a rectangular window of size a b. The arithmetic mean filter computes the average value of the pixels in g( over the window S. ˆ 1 f ( g( s, This operation can be thought of as a convolution with a uniform rectangular mask of size a b, each of whose values is 1/. This smoothes out variations and noise is reduced. S Geometric mean The geometric mean filter computes the geometric mean of the pixels in g( over the window S. f ˆ ( g( s, S 1/ mn This usually results in similar results as the arithmetic mean filter, with possibly less loss of image detail.

Example: Image corrupted by additive Gaussian noise, mean 0 and variance 400. Note that the geometric mean filter has resulted in less blurred edges.

Harmonic mean The harmonic mean filter computes the harmonic mean of the pixels in g( over the window S. fˆ( 1 S g( s, This works well for salt noise, but fails for pepper noise. It also works well with Gaussian noise. Contraharmonic mean The contraharmonic mean filter is given by the expression: Q + 1 g( s, S fˆ( Q g( s, S where Q is called order of the filter. This yields the arithmetic mean filter for Q0 and the harmonic mean filter for Q-1. For positive values of Q, it reduces pepper noise and for negative values of Q, it reduces salt noise. It cannot do both simultaneously.

Example: Image corrupted by salt/pepper noise of probility 0.1.

Example: Effect of choosing the wrong sign for Q..

Order Statistic filters Order statistic filters are obtained by first ordering (or ranking) the pixel values in a window S around a given pixel. Median Filter It replaces the values of a pixel by the median of the gravalues in a neighborhood S of the pixel. fˆ( median ( s, S { g( s, } Median filters are particularly suited for impulsive noise. They often result in much less loss of sharp edges in the original image.

Example of median filter

Max and Min Filter The Max filter replaces the values of a pixel by the maximum of the gravalues in a neighborhood S of the pixel. fˆ( max ( s, S { g( s, } It is used to reduce pepper noise and to find the bright spots in an image. The Min filter replaces the values of a pixel by the minimum of the gravalues in a neighborhood S of the pixel. fˆ( min ( s, S { g( s, } It is used to reduce salt noise and to find the dark spots in an image. Usually, the max and min filters are used in conjunction.

Midpoint Filter The Midpoint filter replaces the values of a pixel by the midpoint (average) of the maximum and minimum of the gravalues in a neighborhood S of the pixel. 1 fˆ( max + ( s, S { g( s, } min { g( s, } ( s, S It combines order statistic with averaging. Alpha-trimmed mean Filter From the pixel values in a neighborhood S of the pixel, we first delete (trim) the d/ lowest and d/ highest values. We then compute the arithmetic mean of the remaining ( d) values: 1 fˆ( d ( s, g S r ( s, When d0, we get the regular arithmetic mean filter, wheread when d ( 1) /, we get the median filter. This filter is useful when there is multiple types of noise (for example: salt-and-pepper noise in addition to Gaussian noise). This filter also combines order statistic with averaging.