Image Restoration Notes
Image Restoration Notes
Images are degraded due to noise. Noise may enter the image during image formation
process, the transmission process or a combination of both.
The process of image blur is usually complex. To simplify calculations the degradation is
often modelled as a linear function known as point spread function.
Where,
f(x,y) - input image
f^(x,y) - estimated original image
g(x,y) - degraded image
h(x,y) - degradation function
h(x,y) - additive noise term
Applying Fourier
G(u,v)=F(u,v)H(u,v)+N(u,v)
NOISE MODELLING
Noise is a disturbance which fluctuates the pixel values. Since noise is a fluctuation in the pixel value,
it is considered a random variable. Thus noise categorization based on probability distribution is very
popular.
Sources of noise
Noise models
– Statistical behaviour of the Gray-level values of pixels
Gaussian noise
Gaussian noise
Electronic circuit noise and sensor noise, salt and pepper noise, shot noise
• Mathematical tractability in spatial and
Gaussian noise affects frequency
both the darkdomains
and the light areas of the image.
• Used
The Gaussian distribution frequently
is given by: in practice
• Electronic circuit noise and sensor noise
1 (z
2
) /2
2
p ( z) e
2
Gaussian noise is also called additive noise and can be modelled by simple additive process.
This type of noise is caused due to sudden disturbance in the image signal. Mainly caused
by sensor and memory problems due to which pixels are assigned incorrect maximum values.
Gaussian noise PDF Gaussian noise PDF
70% in [( ), ( )]
95% in [( ), ( )]
Poisson Noise
Poisson distribution manifests itself in the form a random structures or textures in oamges and is very
common in x-ray images.
Poisson PDF
(𝑛𝑝)0 345
𝑃(𝑧) = 𝑒
𝑧!
Exponential Noise:
𝑃(𝑧) = 6 𝑎𝑒 380 𝑖𝑓 𝑧 ≥ 0
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Rayleigh noise
Rayleigh noise
Mostly present in range images. Are used in remote sensing applications. The pixel values
here represent the distance between the object and the camera system.
2 2
( z a ) /b
(z a )e for z a
p ( z) b
0 for z a
–The mean
The and
mean and variance
variance of this
of this density aredensity
given by are given
by
2 b(4 )
a b / 4 and
4
–a and b can
Gamma Erlang (Gamma) noise
Noisebe obtained through mean and
variance Erlang (Gamma) noise
Occurs due to illumination problem
b b 1
a z baz b 1
ea z for
e
az z 0
for z 0
p ( z) p ( z) (b 1)! ( b 1)!
0 0 for z 0 z
for 0
The mean–
– The mean and variance of thisof
andThe mean
variance and variance
of this density this density are given
are given by
density are given
by b / a and b
b 2
by b / a and a 2 2
2
a
– a and b can be obtained through mean and
a–
andab and
can be Uniform
variance
bobtained
can be obtained
through noise
mean and through mean and
variance
variance
Uniform noise
• Less practical, used for random number
Less practical, used for random number generator
generator
1
if a z b
p ( z) b a
0 otherwise
a b
Mean:
2
2
2 (b a)
Variance:
12
a and b are minimum and maximum value of the gray-scale value respectively
IMAGE BLUR
Caused due to
GAUSS BLUR
1 K L MN L
3
ℎ(𝑥, 𝑦) = 𝑒 OP L
𝜎√2𝜋
Caused due to defocussed optical system. It distributes a single point uniformity over a disk
surrounding the point.
r is the radius, cx and cy is the centre out of focus PSF and c is a scaling factor.
MOTION BLUR
Due to movement of object or camera during light exposure, motion blur is produces. Different
types of motion blur
• translation
• rotation
• sudden change of scale
• combination of these
1 𝐿 𝑥
ℎ(𝑥, 𝑦, 𝐿, 𝜑) = 𝑐 R2 , c(𝑥) + (𝑦)
O O
≤ 𝑎𝑛𝑑 = 𝑡𝑎𝑛𝜑
2 𝑦
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Depends upon temperature, wind speed, exposure time (long time exposure). PSF is
given by
𝑥O + 𝑦O
ℎ(𝑥, 𝑦, 𝜎e ) = 𝑐𝑒𝑥𝑝 f− g
2𝜎e O