Low Pass Filter High Pass Filter Band pass Filter Blurring Sharpening Image Processing Image Filtering in the Frequency Domain.

Slides:



Advertisements
Similar presentations
Frequency Domain Filtering (Chapter 4)
Advertisements

1 Image Processing Ch4: Filtering in frequency domain Prepared by: Tahani Khatib AOU.
Digital Image Processing
Digital Image Processing Frequency Filtering Ashourian
Image Enhancement in the Frequency Domain Part III
Digital Image Processing Lecture 11: Image Restoration Prof. Charlene Tsai.
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Enhancement in Frequency Domain.
Chap 4 Image Enhancement in the Frequency Domain.
Image Processing Frequency Filtering Instructor: Juyong Zhang
DIGITAL IMAGE PROCESSING
Linear Filtering – Part II Selim Aksoy Department of Computer Engineering Bilkent University
EE4H, M.Sc Computer Vision Dr. Mike Spann
Digital Image Processing
Convolution. Spatial Filtering Operations g(x,y) = 1/M  f(n,m) (n,m) in  S Example 3 x 3 5 x 5.
Vector Spaces Space of vectors, closed under addition and scalar multiplication.
The Fourier Transform Jean Baptiste Joseph Fourier.
Chapter 4 Image Enhancement in the Frequency Domain.
CHAPTER 4 Image Enhancement in Frequency Domain
Machine Vision and Dig. Image Analysis 1 Prof. Heikki Kälviäinen CT50A6100 Lectures 6&7: Image Enhancement Professor Heikki Kälviäinen Machine Vision and.
Chap 4-2. Frequency domain processing Jen-Chang Liu, 2006.
The Fourier Transform Jean Baptiste Joseph Fourier.
The Fourier Transform Jean Baptiste Joseph Fourier.
2007Theo Schouten1 Enhancements Techniques for editing an image such that it is more suitable for a specific application than the original image. Spatial.
Digital Image Processing Chapter 4: Image Enhancement in the Frequency Domain.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE /ECE Fall 2009 Shreekanth Mandayam ECE Department Rowan University.
Image Enhancement in the Frequency Domain Part II Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Chapter 4 Image Enhancement in the Frequency Domain.
The Fourier Transform Jean Baptiste Joseph Fourier.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 4 Image Enhancement in the Frequency Domain Chapter.
Filters in the Frequency Domain.  Image Smoothing Using Frequency Domain Filters: ◦ Ideal Lowpass Filters ◦ Butterworth Lowpass Filters ◦ Gaussian Lowpass.
CHAPTER 8 Fourier Filters IMAGE ANALYSIS A. Dermanis.
2D Image Fourier Spectrum.
Introduction to Image Processing
Image Processing © 2002 R. C. Gonzalez & R. E. Woods Lecture 4 Image Enhancement in the Frequency Domain Lecture 4 Image Enhancement.
Effective Computation of Linear Filters The following properties are used to shorten the computation time f  g = g  f, f  (g  h) = (f  g)  h, f 
Digital Image Processing Chapter 4
Digital Image Processing (Digitaalinen kuvankäsittely) Exercise 2
Digital Image Processing Chapter 4: Image Enhancement in the Frequency Domain 22 June 2005 Digital Image Processing Chapter 4: Image Enhancement in the.
8-1 Chapter 8: Image Restoration Image enhancement: Overlook degradation processes, deal with images intuitively Image restoration: Known degradation processes;
Image Subtraction Mask mode radiography h(x,y) is the mask.
If F {f(x,y)} = F(u,v) or F( ,  ) then F( ,  ) = F { g  (R) } The Fourier Transform of a projection at angle  is a line in the Fourier transform.
Digital Image Processing Lecture 11: Image Restoration March 30, 2005 Prof. Charlene Tsai.
Frequency Domain Processing Lecture: 3. In image processing, linear systems are at the heart of many filtering operations, and they provide the basis.
University of Ioannina - Department of Computer Science Filtering in the Frequency Domain (Application) Digital Image Processing Christophoros Nikou
Practical Image Processing1 Chap7 Image Transformation  Image and Transformed image Spatial  Transformed domain Transformation.
2D Image Fourier Spectrum.
Fourier Transform.
İmage enhancement Prepare image for further processing steps for specific applications.
BYST Xform-1 DIP - WS2002: Fourier Transform Digital Image Processing Bundit Thipakorn, Ph.D. Computer Engineering Department Fourier Transform and Image.
Frequency Domain Filtering. Frequency Domain Methods Spatial Domain Frequency Domain.
Amity School of Engineering & Technology 1 Amity School of Engineering & Technology DIGITAL IMAGE PROCESSING & PATTERN RECOGNITION Credit Units: 4 Mukesh.
Digital Image Processing Chapter - 4
Digital Image Processing , 2008
Math 3360: Mathematical Imaging
Medical Image Analysis
IMAGE ENHANCEMENT IN THE FREQUENCY DOMAIN
IMAGE PROCESSING FREQUENCY DOMAIN PROCESSING
Spatial & Frequency Domain
Gaussian Lowpass Filter
Image Enhancement in the
Digital Image Processing
Image Enhancement in the Frequency Domain Part I
Frequency Domain Analysis
2D Fourier transform is separable
The Fourier Transform Jean Baptiste Joseph Fourier.
The Fourier Transform Jean Baptiste Joseph Fourier.
Lecture 4 Image Enhancement in Frequency Domain
Digital Image Processing Lecture 11: Image Restoration
Presentation transcript:

Low Pass Filter High Pass Filter Band pass Filter Blurring Sharpening Image Processing Image Filtering in the Frequency Domain

Frequency Bands Percentage of image power enclosed in circles (small to large) : 90, 95, 98, 99, 99.5, 99.9 ImageFourier Spectrum

Blurring - Ideal Low pass Filter 90%95% 98% 99% 99.5% 99.9%

The Power Law of Natural Images The power in a disk of radii r=sqrt(u 2 +v 2 ) follows: P(r)=Ar -  where  2 Images from: Millane, Alzaidi & Hsiao

Image Filtering Low pass High pass Band pass Local pass Usages

Recall: The Convolution Theorem

Low pass Filter f(x,y) F(u,v) g(x,y) G(u,v) G(u,v) = F(u,v) H(u,v) spatial domainfrequency domain filter f(x,y)F(u,v) H(u,v)g(x,y)

H(u,v) - Ideal Low Pass Filter u v H(u,v) 0 D0D0 1 D(u,v) H(u,v) H(u,v) = 1 D(u,v)  D 0 0 D(u,v) > D 0 D(u,v) =  u 2 + v 2 D 0 = cut off frequency

Blurring - Ideal Low pass Filter 98.65% 99.37% 99.7%

Blurring - Ideal Low pass Filter 98.0% 99.4% 99.6% 99.7% 99.0% 96.6%

The Ringing Problem G(u,v) = F(u,v) H(u,v) g(x,y) = f(x,y) * h(x,y) Convolution Theorem sinc(x) h(x,y)H(u,v)  D0 D0  Ringing radius +  blur IFFT

The Ringing Problem Freq. domain Spatial domain

H(u,v) - Gaussian Filter D(u,v) 0D0D0 1 H(u,v) u v D(u,v) =  u 2 + v 2 H(u,v) = e -D 2 (u,v)/(2D 2 0 ) Softer Blurring + no Ringing

Blurring - Gaussain Lowpass Filter 96.44% 98.74% 99.11%

The Gaussian Lowpass Filter Freq. domain Spatial domain

Blurring in the Spatial Domain: Averaging = convolution with 1 = point multiplication of the transform with sinc: Gaussian Averaging = convolution with = point multiplication of the transform with a gaussian. Image DomainFrequency Domain

Image Sharpening - High Pass Filter H(u,v) - Ideal Filter H(u,v) = 0 D(u,v)  D 0 1 D(u,v) > D 0 D(u,v) =  u 2 + v 2 D 0 = cut off frequency 0 D0D0 1 D(u,v) H(u,v) u v

D(u,v) 0D0D0 1 D(u,v) =  u 2 + v 2 High Pass Gaussian Filter u v H(u,v) H(u,v) = 1 - e -D 2 (u,v)/(2D 2 0 )

High Pass Filtering OriginalHigh Pass Filtered

High Frequency Emphasis OriginalHigh Pass Filtered +

High Frequency Emphasis Emphasize High Frequency. Maintain Low frequencies and Mean. (Typically K 0 =1) H'(u,v) = K 0 + H(u,v) 0 D0D0 1 D(u,v) H'(u,v)

High Frequency Emphasis - Example OriginalHigh Frequency Emphasis OriginalHigh Frequency Emphasis

High Pass Filtering - Examples OriginalHigh pass Emphasis High Frequency Emphasis + Histogram Equalization

Band Pass Filtering H(u,v) = 1 D 0 -  D(u,v)  D D(u,v) > D 0 + D(u,v) =  u 2 + v 2 D 0 = cut off frequency u v H(u,v) 0 1 D(u,v) H(u,v) D0-D0- w 2 D0+D0+ w 2 D0D0 0 D(u,v)  D 0 - w 2 w 2 w 2 w 2 w = band width

H(u,v) = 1 D 1 (u,v)  D 0 or D 2 (u,v)  D 0 0 otherwise D 1 (u,v) =  (u-u 0 ) 2 + (v-v 0 ) 2 D 0 = local frequency radius Local Frequency Filtering u v H(u,v) 0 D0D0 1 D(u,v) H(u,v) -u 0,-v 0 u 0,v 0 D 2 (u,v) =  (u+u 0 ) 2 + (v+v 0 ) 2 u 0,v 0 = local frequency coordinates

H(u,v) = 0 D 1 (u,v)  D 0 or D 2 (u,v)  D 0 1 otherwise D 1 (u,v) =  (u-u 0 ) 2 + (v-v 0 ) 2 D 0 = local frequency radius Band Rejection Filtering 0 D0D0 1 D(u,v) H(u,v) -u 0,-v 0 u 0,v 0 D 2 (u,v) =  (u+u 0 ) 2 + (v+v 0 ) 2 u 0,v 0 = local frequency coordinates u v H(u,v)

Demo