0% found this document useful (0 votes)
7 views47 pages

restorationunit4

The document discusses image restoration techniques aimed at improving the quality of degraded digital images caused by factors such as motion, improper focusing, and noise. It outlines the process of modeling degradation, applying inverse processes, and various types of noise and filters used for restoration, including mean filters, adaptive filters, and median filters. Additionally, it highlights the effectiveness of adaptive median filters in removing impulsive noise while addressing challenges in mixed noise scenarios.

Uploaded by

23uelec006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views47 pages

restorationunit4

The document discusses image restoration techniques aimed at improving the quality of degraded digital images caused by factors such as motion, improper focusing, and noise. It outlines the process of modeling degradation, applying inverse processes, and various types of noise and filters used for restoration, including mean filters, adaptive filters, and median filters. Additionally, it highlights the effectiveness of adaptive median filters in removing impulsive noise while addressing challenges in mixed noise scenarios.

Uploaded by

23uelec006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 47

 The main objective of restoration is to improve

the quality of a digital image which has been


degraded due to Various phenomena like:
 Motion
 Improper focusing of Camera during image
acquisition.
 Noise
 The purpose of image restoration is to restore a degraded/distorted
image to its original content and quality.

 Restoration involves following process:-


 Modeling of Degradation
 Applying the inverse process to recover the original image
 We will assume that a degradation function exists,
which, together with additive noise, operates on the
input image f(x,y) to produce a degraded image g(x,y).
 The objective of restoration is to obtain an estimate for
the original image from its degraded version g(x,y)
while having some knowledge about the degradation
function H and the noise
 the degraded image in the spatial domain is

▪Therefore, in the frequency domain it is


 The Principal source of noise in digital images arise
during image Acquisition and transmission.
 In Acquiring images with Camera and Light levels are
major factor affecting the amount of noise in resulting
image.
 Images are corrupted during transmission due to
interferences in the channel used for transmission.for
example:image is transmitted using a wireless network
might be corrupted due to atmospheric disturbances.
Degradation models :
noise only
g(x, y) = f (x, y) +  (x, y)
G(u, v) = F (u, v) + N (u, v)
 Some important noise probability density functions
 – Gaussian noise
 – Rayleigh noise
 -Erlang gamma noise
 – Exponential noise
 – Impulse
 The PDF of a Gaussian random variable z given by:

z represents intensity,
ž is the mean (average) value of z ,
is its standard deviation.
is the variance of z.
 The Gaussian noise arises in an image due to factors
such as electronic circuit noise and sensor noise
due to poor illumination. The images acquired by
image scanners exhibit this phenomenon.
 Rayleigh noise is specified as
 Rayleigh noise PDF is helpful in characterizing
noise phenomena in range imaging. (e.g-X-
ray,ultraviolet imaging which depend upon the
frequency of light )
 Erlang noise is specified as

Here a > 0 and b is a positive integer. The mean and variance are
given by
 Gamma noise finds in laser imaging.
Exponential noise is specified as

Here a > 0. The mean and variance are given by

Exponential pdf is a special case of Erlang pdf with b =1.Used in laser imaging.
 Impulse (salt-and-pepper) noise (bipolar) is
specified as

If b>a, intensity b will appear as a light dot on the image and a appears as a
dark dot If either Pa or Pb is zero the noise is called unipolar.If neither
probability is zero, and especially if they are approximatly equal, impulse noise
value will resemble salt and peeper granules randomely distributed over the
image.for this reason , bipolar impulse noise is called salt and peeper noise.
 Mean filters  Adaptive filters
› Arithmetic mean filter › Adaptive local noise
› Geometric mean filter reduction filter
› Harmonic mean filter › Adaptive median filter
› Contra-harmonic mean
filter
 Order statistics filters
› Median filter
› Max and min filters
› Mid-point filter
› alpha-trimmed filters
 Arithmetic mean filter:

The arithmetic mean filter computed the average value of the corrupted
image g(x,y) in the area defined by Sxy. Let Sxy represent the set of
coordinates in a rectangular neighborhood of size m x n, centered at the
point (x,y).
Effect:The Mean filter simply smoothes the variations in an
image.noise is reduced as a result of blurring
Effect:
Geometric mean filter achieves smoothing comparable to the
arithmetic mean filter but it preserves more details (It means
loss less image detail in the process)
Effect:
Harmonic mean filter works well for salt noise and other types of
noise (such as Gaussian) but fails for pepper noise.
Here Q is the order of the filter. This filter is well suited for
reducing the effects of salt-pepper noise. For positive values of Q,
eliminates pepper noise; for negative values of Q, it eliminates salt
noise. This filter cannot reduce both simultaneously.

Notice that contraharmonic filter reduces to the arithmetic mean


filter when Q = 0 and to the harmonic mean filter if Q = -1.
 Median filter:It replaces the pixel value by the median of the
intensity levels in the neighborhood of that pixel:

 Effect:
 Median filters provide excellent results for certain types of
noise with considerably less blurring than linear smoothing
filters of the same size. These filters are very effective against
both bipolar and unipolar noise. The same filter can be
 applied more than once to yield better results.
Effective for
removing salt-
and-paper
(impulsive)
noise.

fˆ (x, y) = median g (s,t)


( s,t )S x ,y
 Max filters:

This filter is useful for finding the brightest points in an image;


therefore, its effective against pepper noise.

Min filters:
This filter is useful for finding the darkest points in an
image;therefore, its effective against salt noise.( it reduces the salt
noise because it will eliminate the higher gray values in the
subimage.
 It computes the midpoint between the maximum and
minimum values of intensities:

This filter is a combination of order statistics and averaging and


works best for Gaussian and uniform noise contaminations.
 if we delete d/2 highest intensity values and d/2 lowest
intensity values of g(s,t) in the neighbourhood sxy., denote the
rest as gr(s.t), a filter that averages what is left is alpha-
trimmed mean filter:

d can range from 0 to mn-1. When d = 0, this filter reduces to


the arithmetic mean filter, when d = mn-1, this filter reduces
to a median filter. For other values of d, the filter is useful in
situation with noise of multiple types, such as a combination
of salt-and-pepper and Gaussian noise.
 Adaptive filters are those filters whose behavior
changes based on the statistical characteristics of the
image inside the filter region defined by a
rectangular window size Sxy.
 It is better than the mean filter and order statistics
filter.
 Two types of filter
› Adaptive local noise reduction filter
› Adaptive median filter
 It uses two statistical parameters, mean and variance for the
elimination of noise.
 Mean Parameter:It gives the average gray value.
 Variance:It provides the estimate of the contrast in the image.
 the adaptive filter is:
 The response of filter is based on four quantities:-
 G(x,y) the value of noisy image at (x,y).
 the variance of noise corrupting f(x,y) to form g(x,y).
 mL local mean of pixels in the Sxy
 The local variance of the pixels in Sxy
 The behavior of the Adaptive filter is
obtained as:

 Adaptive filter achieves approximately the same
performance in noise cancellation but adds much less
blurring than the mean filters.
 Adaptive filtering typically yields considerably
better results in overall performance at the price of
filter complexity.
 It can handle impulse noise with larger probabilities than
traditional median filter. It operates on a rectangular region
Sxy, whose size is changing. Window size is variable to
improve efficiency
 Adaptive median filter has 3 goals:
 to remove impulse noise,
 To provide smoothing
 to reduce distortion
 Three cases were implemented:
 With Salt and Pepper noise alone
 With non impulsive noise alone
 With both included
 Variations in the window size were introduced
Standard Median output

Salt and Pepper


Gaussian Noise Standard Median output
Standard Median output
Gaussian and impulsive Noise
 The adaptive median filter successfully removes
impulsive noise from images. It does a reasonably
good job of smoothening images that contain non-
impulsive noise.
 When both types of noise are present, the
algorithm is not as successful in removing
impulsive noise and its performance deteriorates.
 This noise typically comes from electrical or
electromechanical interference during image acquisition.
 It can be reduced via frequency domain filtering.
 The image is corrupted by sinusoidal noise of various
frequencies.
 The parameters of periodic noise are estimated by inspection
of Fourier spectrum of the image.
 Bandreject filters
 Bandpass filters
 Notch aFilters
 Bandreject filters remove or attenuate frequencies
about the origin of the Fourier transform.
 Ideal Bandreject Filter:

Where
D(u,v) :distance from the origin of the centered freq.
Do :Radial centre
W- width of the band

You might also like