Digital Image Processing CSC331 Image restoration 1.
-
Upload
ashley-cunningham -
Category
Documents
-
view
239 -
download
0
Transcript of Digital Image Processing CSC331 Image restoration 1.
![Page 1: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/1.jpg)
1
Digital Image ProcessingCSC331
Image restoration
![Page 2: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/2.jpg)
2
Summery of previous lecture
• Image restoration techniques • Difference between image enchantment and
image restoration• Image formation process and the degradation
model • Degradation model in continues function and
its discrete formulation• Discrete formulation for 1D and 2D
![Page 3: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/3.jpg)
3
Todays lecture
• Estimation of Degradation Model– By observation – By experimentation – Mathematical model
• Restoration techniques – Inverse filtering
![Page 4: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/4.jpg)
4
Degradation model
![Page 5: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/5.jpg)
5
Estimation of Degradation Model
• Blind convolution operation – By observation – By experimentation – Mathematical model
![Page 6: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/6.jpg)
6
Degradation Model by observation
![Page 7: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/7.jpg)
7
Example degraded image which has been cut out from a bigger degraded image.
![Page 8: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/8.jpg)
8
Degradation Model by experimentation
• we try to get an imaging setup which is similar to the imaging setup before the degraded image.
• our purpose will be to find the impulse response of imaging setup.
• So, once the impulse response is known, the response of that system to any arbitrary input can be computed.
• So this means we need impulse simulation.
![Page 9: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/9.jpg)
9
Impulse simulation
• How do you simulate an impulse? • An impulse can be simulated by a very bright
spot of light and because our imaging setup is a camera, so we will have a bright spot as small as possible of light falling on the camera,
• whatever image we get that is the response to that bright spot of light which in our case is an impulse.
![Page 10: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/10.jpg)
10
Simulated impulse
simulated impulse Impulse response which is captured by the camera when this impulse falls on camera lens.
Now, we know from our earlier discussion that for a narrow impulse, the
Fourier transformation of an impulse is a constant.
![Page 11: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/11.jpg)
11
![Page 12: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/12.jpg)
12
Experimental setup • We have got the degradation function through an experimental setup Is • we have an imaging setup with a light source which can simulate an
impulse. Using that impulse, we got an image which is the impulse response of this imaging system.
• We assume that the Fourier transform of the impulse is true as a constant A
• We obtain the Fourier transform of the response which is G (u, v) and now this G (u, v) divided by A shall be equal to the degradation function H (u, v) which is the degradation function of this particular imaging setup.
• one point should be kept in mind that the intensity of the light which is the simulated impulse should be very high so that the effect of noise is reduced otherwise the estimation will not be a correct
![Page 13: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/13.jpg)
13
Degradation by Mathematical Model
• Mathematical modeling approach for estimation of the degradation function has been used for many years.
• Reasons for using this mathematical approach– The first one is it provides an insight into the
degradation process. – The second reason is that it can model even the
atmospheric disturbance which leads to degradation of the image.
![Page 14: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/14.jpg)
14
Degradation by Mathematical Model
![Page 15: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/15.jpg)
15
Degradation by Mathematical Model
![Page 16: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/16.jpg)
16
Degradation model estimation basic principles
• 1st we will try to find the degradation function where the image is degraded by linear motion – Taking the image a fast moving object; – There is some sort of blurring which is known as motion blurring
and this motion blurring occurs – Whenever we take the snap of the scene, the shutter of the
camera is open for certain duration of time and during this period, during which the shutter is open, the object is not stationary, the object is moving.
– The light from the scene does not reflect from a single point. But the light you get at a particular point on the imaging sensor is the aggregation of the reflected light from various points in the scene.
![Page 17: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/17.jpg)
17
Motion blurring
![Page 18: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/18.jpg)
18
Motion blurring function
![Page 19: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/19.jpg)
19
![Page 20: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/20.jpg)
20
![Page 21: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/21.jpg)
21
![Page 22: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/22.jpg)
22
![Page 23: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/23.jpg)
23
Filtering techniques
• Now we obtained a an estimated degradation function, for a blurred image; how to restore the original image or how to recover the original image?
• So, as we have mentioned that there are different types of filtering techniques for obtaining or for restoring the original image from a degraded image.
• The simplest kind of filtering technique is what is known as inverse filtering.
![Page 24: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/24.jpg)
24
Inverse filtering
![Page 25: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/25.jpg)
25
Results
![Page 26: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/26.jpg)
26
Summery of the lecture
• Estimation of Degradation Model– By observation – By experimentation – Mathematical model
• Restoration techniques – Inverse filtering
![Page 27: Digital Image Processing CSC331 Image restoration 1.](https://reader035.fdocuments.in/reader035/viewer/2022081420/5697bf7d1a28abf838c84875/html5/thumbnails/27.jpg)
27
References • Prof .P. K. Biswas
Department of Electronics and Electrical Communication Engineering Indian Institute of Technology, Kharagpur
• Gonzalez R. C. & Woods R.E. (2008). Digital Image Processing. Prentice Hall.
• Forsyth, D. A. & Ponce, J. (2011).Computer Vision: A Modern Approach. Pearson Education.