Download presentation
Presentation is loading. Please wait.
Published byClement Ellis Modified over 8 years ago
1
School of Computer Science Queen’s University Belfast Practical TULIP lecture next Tues 12th Feb. Wed 13th Feb 11-1 am. Thurs 14th Feb 10-12 am. Practical notes on Queen’s on-line.
2
School of Computer Science Queen’s University Belfast CSC312-4 Noise Reduction Paul Miller
3
School of Computer Science Queen’s University Belfast Image Enhancement Brightness control Contrast enhancement Noise reduction Edge enhancement Zooming
4
School of Computer Science Queen’s University Belfast Objectives What is noise? How is noise reduction performed? –Low-pass –Median How they can be implemented using neighbourhood operators.
5
School of Computer Science Queen’s University Belfast Noise Source of noise = CCD chip. Electronic signal fluctuations in detector. Caused by thermal energy. Worse for infra-red sensors.
6
School of Computer Science Queen’s University Belfast Noise image + noise = ‘grainy’ image
7
School of Computer Science Queen’s University Belfast Noise Plot of image brightness. Vertical slice through image. Noise is additive. Noise fluctuations are rapid, ie, high frequency.
8
School of Computer Science Queen’s University Belfast Noise Histogram Plot noise histogram Histogram is called normal or Gaussian Mean(noise) = 0 Standard deviation i is the grey level. 22
9
School of Computer Science Queen’s University Belfast Noise Histogram =10 =20 =30
10
School of Computer Science Queen’s University Belfast Noise Histogram =10 =20 =30
11
School of Computer Science Queen’s University Belfast Noise Reduction - Low pass Noise varies above and below uncorrupted image.
12
School of Computer Science Queen’s University Belfast Noise Reduction - Low pass How do we reduce noise? Consider a uniform 1-d image A and add noise. Focus on a pixel neighbourhood. Central pixel has been increased and neighbouring pixels have decreased. A i-1 A i A i+1 Ci Ci
13
School of Computer Science Queen’s University Belfast Noise Reduction- Low pass A i-1 A i A i+1 =0 =3 = = = = Ci Ci
14
School of Computer Science Queen’s University Belfast Noise Reduction - Low pass Averaging ‘smoothes’ the noise fluctuations. Consider the next pixel A i+1 Repeat for remainder of pixels. A i-1 A i A i+1 A i+2 C i+1
15
School of Computer Science Queen’s University Belfast Low pass Neighbourhood operator All pixels can be averaged by convolving 1-d image A with mask B to give enhanced image C. Weights of B must equal one when added together.
16
School of Computer Science Queen’s University Belfast Low pass Neighbourhood operator Extend to two dimensions.
17
School of Computer Science Queen’s University Belfast Noise Reduction - Low pass
18
School of Computer Science Queen’s University Belfast Noise reduction Low pass Technique relies on high frequency noise fluctuations being ‘blocked’ by filter. Hence, low-pass filter. Fine detail in image may also be smoothed. Balance between keeping image fine detail and reducing noise.
19
School of Computer Science Queen’s University Belfast Noise reduction - Median Saturn image coarse detail Boat image contains fine detail Noise reduced but fine detail also smoothed
20
School of Computer Science Queen’s University Belfast Noise Reduction- Median How do we reduce noise without averaging? Consider a uniform 1-d image A and add noise. Focus on a pixel neighbourhood. Non-linear operator? A i-1 A i A i+1 Ci Ci Median filter!
21
School of Computer Science Queen’s University Belfast Noise Reduction- Median A i-1 A i A i+1 3 = = = = Ci Ci 2 1 = = =
22
School of Computer Science Queen’s University Belfast Noise reduction - Median Consider a uniform 1-d image A with a step function. Step function corresponds to fine image detail such as an edge. Low-pass filter ‘blurs’ the edge.
23
School of Computer Science Queen’s University Belfast A i A i+1 A i+2 C i+1 Noise reduction - Median Consider a uniform 1-d image A with a step function. Step function corresponds to fine image detail such as an edge. Median filter does not ‘blur’ the edge. A i-1 A i A i+1 Ci Ci
24
School of Computer Science Queen’s University Belfast Median Neighbourhood operator All pixels can be replaced by neighbourhood median by convolving 1-d image A with median filter B to give enhanced image C.
25
School of Computer Science Queen’s University Belfast Median Neighbourhood operator Extend to two dimensions.
26
School of Computer Science Queen’s University Belfast Noise reduction Original Low-passMedian
27
School of Computer Science Queen’s University Belfast Noise reduction Low-passMedian Low-pass: fine detail smoothed by averaging Median: fine detail passed by filter
28
School of Computer Science Queen’s University Belfast Summary What is noise? –Gaussian distribution Noise reduction –first principles Neighbourhood –low-pass –median Averaging pixels corrupted by noise cancels out the noise. Low-pass can blur image. Median can retain fine image detail that may be smoothed by averaging. Conclusion
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.