Module 4
Module 4
processing
S5 Minor
Module 4 : Image restoration
Unconstrained Restoration:
Constrained Restoration:
Weiner
filter
Pseudo-inverse filter
• Mostly, H(u, v) represents is a low-pass filter, which implies that H(u, v) ≈ 0 at high frequencies.
• The division of H(u,v) leads to large amplification at high frequencies, where the noise dominates over the
image.
• This frequency-dependent amplification leads to significant errors in the restored image, and amplification of
noise.
• The value of the pixel at (x, y) is included in the computation of the median.
• Median filters are quite popular because, for certain types of random noise, they provide excellent noise-
reduction capabilities, with considerably less blurring than linear smoothing filters of similar size. Median
filters are particularly effective in the presence of both bipolar and unipolar impulse noise
• In order to perform median filtering at a point in an image,
• we first sort the values of the pixels in the neighborhood,
• determine their median,
• assign that value to the pixel in the filtered image corresponding to the center of the neighborhood.
• For example, in a 3 x 3 neighborhood the median is the 5th largest value, in a 5 x 5 neighborhood it is the
13th largest value, and so on.
• The principal function of median filters is to force points to be more like their neighbors.
• Isolated clusters of pixels that are light or dark with respect to their neighbors, and whose area one-half
the filter area, are forced by an m x m median filter to have the value of the median intensity of the pixels
in the neighborhood
Median Filter (Nonlinear)
MAX and MIN filter
• Maximum and minimum filters attribute to each pixel in an image a new value equal to the maximum or
minimum value in a neighbourhood around that pixel.
• MAX filter is useful for finding the brightest points in an image or for eroding dark regions adjacent to bright
areas. Also, because pepper noise has very low values, it is reduced by this filter as a result of the max
selection process in the subimage area S xy.
• MIN filter is useful for finding the darkest points in an image or for eroding light regions adjacent to dark
areas. Also, it reduces salt noise as a result of the min operation
Applications of image restoration
• The digital image-restoration technique is widely used in the following fields of image processing:
1. Astronomical imaging
2. Medical imaging
3. Printing industry
4. Defense applications
Medical Imaging
• X-rays, mammograms and digital angiographic images are often corrupted by Poisson noise.
• Additive noise is common in magnetic resonance imaging.
• These noises should be removed for proper diagnostics of diseases.
• This can be accomplished through digital image-restoration techniques.
Astronomical Imaging
• The technical challenges faced by astronomers in gathering and interpreting images and spectra forced
the image-processing community to develop efficient image-restoration algorithms.
• Some of the problems include imaging through turbulent atmosphere, imaging of faint objects with low
photon counts and thus noisy data and the loss of phase information in radio interferometry.
• Astronomical image degradations are characterised by Poisson noise. Poisson noise is signal dependent.
• Another type of noise that is common is Gaussian noise which is due to electronic components in the
imaging system and broadcast transmissioning effect.
• Astronomical images are degraded by motion blur which is due to slow camera shutter speeds relative to
rapid spacecraft motion.
• To minimise the noise as well as degradation, astronomical imaging is one of the primary applications of
digital image restoration.
Printing Applications
• Printing applications often require the use of restoration to ensure that halftone
reproductions of continuous images are of high quality.
• Image restoration can improve the quality of continuous images generated from
halftone images
Defense Applications
• The image obtained from guided missiles may be degraded due to the effects of
pressure differences around a camera mounted on the missile.
• Proper image-restoration technique is a must to restore these images
Noise models
Gaussian
• Gaussian noise models are used frequently in practice
• Due to its mathematical tractability in both the spatial and
frequency domains,
Uniform noise
Additive noise
• Let f [m, n] be the original image, f ′[m, n] be the noise digitised version and η[m, n] be
the noise function which returns random values coming from an arbitrary distribution.
Then the additive noise is given by the equation
• Additive noise is independent of the pixel values in the original image. Typically, η[m,
n] is symmetric about zero.
• This has the effect of not altering the average brightness of the image.
• Additive noise is a good model for the thermal noise within photo-electronic sensors.
Salt-Pepper noise