Spatial & Frequency Domain

Slides:



Advertisements
Similar presentations
Image Enhancement in the Frequency Domain (2)
Advertisements

Spatial Filtering (Chapter 3)
Local Enhancement Histogram processing methods are global processing, in the sense that pixels are modified by a transformation function based on the gray-level.
Frequency Domain Filtering (Chapter 4)
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.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 5 Image Restoration Chapter 5 Image Restoration.
DIGITAL IMAGE PROCESSING
Digital Image Processing
Chapter 4 Image Enhancement in the Frequency Domain.
CHAPTER 4 Image Enhancement in Frequency Domain
Image Enhancement in the Frequency Domain Part III Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
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.
General Functions A non-periodic function can be represented as a sum of sin’s and cos’s of (possibly) all frequencies: F(  ) is the spectrum of the function.
Digital Image Processing Chapter 4: Image Enhancement in the Frequency Domain.
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.
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 3 (cont).  In this section several basic concepts are introduced underlying the use of spatial filters for image processing.  Mainly spatial.
Presentation Image Filters
Digital Image Processing Chapter # 4 Image Enhancement in Frequency Domain Digital Image Processing Chapter # 4 Image Enhancement in Frequency Domain.
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 CSC331 Image Enhancement 1.
ENG4BF3 Medical Image Processing Image Enhancement in Frequency Domain.
Digital Image Processing Chapter 4: Image Enhancement in the Frequency Domain 22 June 2005 Digital Image Processing Chapter 4: Image Enhancement in the.
Image Subtraction Mask mode radiography h(x,y) is the mask.
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.
Low Pass Filter High Pass Filter Band pass Filter Blurring Sharpening Image Processing Image Filtering in the Frequency Domain.
1 CMPB 345: IMAGE PROCESSING DISCRETE TRANSFORM 2.
Fourier Transform.
Computer Graphics & Image Processing Chapter # 4 Image Enhancement in Frequency Domain 2/26/20161.
G52IIP, School of Computer Science, University of Nottingham 1 Image Transforms Basic idea Input Image, I(x,y) (spatial domain) Mathematical Transformation.
Digital Image Processing Lecture 9: Filtering in Frequency Domain Prof. Charlene Tsai.
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.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Digital Image Processing Chapter - 4
Digital Image Processing , 2008
Image Subtraction Mask mode radiography h(x,y) is the mask.
IMAGE ENHANCEMENT IN THE FREQUENCY DOMAIN
IMAGE PROCESSING FREQUENCY DOMAIN PROCESSING
Image Pre-Processing in the Spatial and Frequent Domain
Digital Image Processing
Gaussian Lowpass Filter
Image Enhancement in the
Lecture 11 Image restoration and reconstruction II
Digital Image Processing
Image Enhancement in the Frequency Domain Part I
ENG4BF3 Medical Image Processing
Frequency Domain Analysis
4. Image Enhancement in Frequency Domain
Frequency Domain Processing
Digital Image Processing
Lecture 4 Image Enhancement in Frequency Domain
Digital Image Processing Lecture 11: Image Restoration
Fundamentals of Spatial Filtering
Presentation transcript:

Spatial & Frequency Domain f(x,y) * h(x,y)  F(u,v) H(u,v) (x,y) * h(x,y)  [(x,y)] H(u,v) h(x,y)  H(u,v) Filters in the spatial and frequency domain form a FT pair, i.e. given a filter in the frequency domain we can get the corresponding one in the spatial domain by taking its inverse FT

Image Enhancement in the Frequency Domain

Enhancement in the Frequency Domain Types of enhancement that can be done: Lowpass filtering: reduce the high-frequency content -- blurring or smoothing Highpass filtering: increase the magnitude of high-frequency components relative to low-frequency components -- sharpening.

Image Enhancement in the Frequency Domain

Lowpass Filtering in the Frequency Domain Edges, noise contribute significantly to the high-frequency content of the FT of an image. Blurring/smoothing is achieved by reducing a specified range of high-frequency components:

Smoothing in the Frequency Domain G(u,v) = H(u,v) F(u,v) Ideal Butterworth (parameter: filter order) Gaussian

Ideal Filter (Lowpass) A 2-D ideal low-pass filter: where D0 is a specified nonnegative quantity and D(u,v) is the distance from point (u,v) to the center of the frequency rectangle. Center of frequency rectangle: (u,v)=(M/2,N/2) Distance from any point to the center (origin) of the FT:

Image Enhancement in the Frequency Domain

Ideal Filter (Lowpass) all frequencies inside a circle of radius D0 are passed with no attenuation all frequencies outside this circle are completely attenuated.

Ideal Filter (Lowpass) Cutoff-frequency: the point of transition between H(u,v)=1 and H(u,v)=0 (D0) To establish cutoff frequency loci, we typically compute circles that enclose specified amounts of total image power PT.

Ideal Filter (cont.) PT is obtain by summing the components of power spectrum P(u,v) at each point for u up to M-1 and v up to N-1. A circle with radius r, origin at the center of the frequency rectangle encloses a percentage of the power which is given by the expression The summation is taken within the circle r

Transfer function 5x5 low-pass filter

Example

Example

Image Enhancement in the Frequency Domain

Blurring can be modeled as the convolution of a high resolution (original) image with a low pass filter.

Butterworth Filter (Lowpass) This filter does not have a sharp discontinuity establishing a clear cutoff between passed and filtered frequencies.

Butterworth Filter (Lowpass) To define a cutoff frequency locus: at points for which H(u,v) is down to a certain fraction of its maximum value. When D(u,v) = D0, H(u,v) = 0.5 i.e. down 50% from its maximum value of 1.

Image Enhancement in the Frequency Domain