IP Mod 3 Complete
IP Mod 3 Complete
,
MIN,MAX,MEDIAN FILTER - Digital Image processing
4 Compare image enhancement and image
restoration .
Image enhancement is the process of improving the visual
quality of an image, while image restoration is the process of
recovering a degraded or damaged image to its original form.
Numerical on Spatial Filtering | Arithmetic Mean Filter | Image Processing Unit 3 I Image
Processing
6. Analyze the effect of the max, min filter for the given
Max Filter :
The max(30,10,20,10,250,25,20,25,30)=250;
Min Filter:
The min(30,10,20,10,250,25,20,25,30)=10:
Therefore, the result will be
T(g) = g'
T(g) = median(g)
and analysis.
One issue is that images can be very large in terms of file size,
Part - B
2 Summarize the power density function of uniform noise, salt & pepper
noise and Gaussian noise and sketch it.
The power density function of a noise signal describes the amount of power present at
different frequencies.
2. Uniform Noise :
This noise caused by quantizing the pixels of a sensed image to a
number of discrete levels is known as quantization noise.
The PDF of uniform noise is given by
The mean of this density function is
given by
μ = a + b /2 σ2 = (b – a ) 2 / 12
Salt and Pepper Noise :
Salt and pepper noise is sometimes called impulse noise or spike noise
or random noise or independent noise. In salt and pepper noise (sparse
light and dark disturbances), pixels in the image are very different in
colour or intensity unlike their surrounding pixels. Salt and pepper
degradation can be caused by sharp and sudden disturbance in the
image signal. Generally, this type of noise will only affect a small
number of image pixels. When viewed, the image contains dark and
white dots, hence the term salt and pepper noise
The PDF of (bipolar) impulse noise is given by
Gaussian noise
In Gaussian noise, each pixel in the image will be changed from its
original value by a (usually) small amount.
Because of its mathematical tractability in both the spatial and
frequency domains, Gaussian (also called normal) noise models are
used frequently in practice.
In fact, this tractability is so convenient that it often results in Gaussian
models being used in situations in which they are marginally applicable
at best.
The PDF of a Gaussian random variable, z, is given by
where,
z represents gray level
μ is the mean of the average
value of z and σ is its standard deviation.
The standard deviation squared, σ2, is called the variance of z.
Each pixel of the output image at point (x,y) is given by the product of
the pixels within the geometric mean mask raised to the power of
1/mn. For example, using a mask size of 3 by 3, the pixel (x,y) in the
output image will be the product of S(x,y) and all 8 of its surrounding
pixels raised to the 1/9th power.
Using the following original image with pixel (x,y)
at the center:
Gives the result of:
(5*16*22*6*3*18*12*3*15)^(1/9) = 8.77.
Both erosion and dilation can be useful for image restoration tasks because
they can help to remove noise or to extract features from an image. They
can also be used in combination with other image processing techniques to
improve the overall quality of an image.
In Gaussian noise, each pixel in the image will be changed from its
original value by a (usually) small amount.
Because of its mathematical tractability in both the spatial and
frequency domains, Gaussian (also called normal) noise models are
used frequently in practice.
In fact, this tractability is so convenient that it often results in Gaussian
models being used in situations in which they are marginally applicable
at best.
The PDF of a Gaussian random variable, z, is given by
Where,
z represents gray level
μ is the mean of the average value of z and σ is its standard deviation.
The standard deviation squared, σ2, is called the variance of z.
• Observation
• Experimentation
• Mathematical modeling
For example if the image is blurred, we can look at a small section of the
image containing simple structures, like part of an object and the
background. In order to reduce the effect of noise in our observation, we
would look for areas of strong signal content. Using sample gray levels of
the object and the background, we can construct an unblurred image of
the same size and characteristics as the observed sub image.
Estimation by Experimentation
Estimation by Modeling
• Observation
• Experimentation
• Mathematical modeling
For example if the image is blurred, we can look at a small section of the
image containing simple structures, like part of an object and the
background. In order to reduce the effect of noise in our observation, we
would look for areas of strong signal content. Using sample gray levels of
the object and the background, we can construct an unblurred image of
the same size and characteristics as the observed sub image.
Estimation by Modeling
● Motion
● Noise
● Modeling of Degradation
Old Answer:
Alpha-trimmed filter is a windowed filter of nonlinear class, by
its nature is hybrid of the median filters. The basic idea behind
the filter is for any element of the signal (image) look at its
neighborhood, discard the most atypical elements and calculate
mean value using the rest of them. Alpha you can see in the
name of the filter is indeed the parameter responsible for the
number of trimmed elements.
Now let us see how to get alpha-trimmed value in practice. The
basic idea here is to order elements, discard elements at the
beginning and at the end of the ordered set and then calculate
average value using the rest. For instance, let us calculate
alpha-trimmed for the case,
Alpha-trimmed filter algorithm:
1. Place a window over element;
2. Pick up elements;
3. Order elements;
4. Discard elements at the beginning and at the end of the got
ordered set;
5. Take an average sum up the remaining elements and divide
the sum by their number.
Rayleigh Noise
This noise exists in range images like remote
Rayleigh noise is a type of noise that has a Rayleigh distribution. It is often found in images
that have been captured using a CCD (charge-coupled device) camera, and it is characterized
by a low level of noise at low frequencies and a high level of noise at high frequencies.
There are several techniques that can be used to remove exponential and Rayleigh noise from
images. One common approach is to use image filters, such as median filters or Gaussian
filters, to smooth out the noise and reduce its impact on the image. Other techniques, such as
wavelet denoising or total variation denoising, can also be effective at removing exponential
and Rayleigh noise from images.
It is worth noting that while these techniques can be effective at reducing the level of noise in
an image, they may also introduce some blur or loss of detail. As such, it is important to
choose the appropriate technique and filter parameters to strike a balance between noise
reduction and image quality.
Let,
F'(u, v) -> Fourier transform of the restored image
G(u, v) -> Fourier transform of the degraded image
H(u, v) -> Estimated or derived or known degradation function
then F'(u, v) = G(u, v)/H(u, v)
where, G(u, v) = F(u, v).H(u, v) + N(u, v)
and F'(u, v) = f(u, v) - N(u, v)/H(u, v)
Gaussian noise
In Gaussian noise, each pixel in the image will be changed from
its original value by a (usually) small amount.
Because of its mathematical tractability in both the spatial and
frequency domains, Gaussian (also called normal) noise models
are used frequently in practice.
In fact, this tractability is so convenient that it often results in
Gaussian models being used in situations in which they are
marginally applicable at best.
The PDF of a Gaussian random variable, z,
is given by
where,
z represents gray level
μ is the mean of average value of z and σ
is its standard deviation.
The standard deviation squared, σ2, is called the variance of z.
20. What is Image restoration? Draw and explain the basic block
diagram of the restoration process. Give two areas where the
restoration process can be applied.
Image Restoration deals with improving the appearance of an
image. It is an objective approach, in the sense that restoration
techniques tend to be based on mathematical or probabilistic
models of image processing. Enhancement, on the other hand, is
based on human subjective preferences regarding what
constitutes a “good” enhancement result.
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:
Modelling of Degradation
Applying the inverse process to recover the original image.