chapter 4 image enhancement in the frequency domain

45
Digital Image Processing, 2nd ed. www.imageprocessingbook.com 002 R. C. Gonzalez & R. E. Woods Chapter 4 Image Enhancement in the Frequency Domain

Upload: flavio

Post on 05-Jan-2016

120 views

Category:

Documents


5 download

DESCRIPTION

Chapter 4 Image Enhancement in the Frequency Domain. Chapter 4 Image Enhancement in the Frequency Domain. Chapter 4 Image Enhancement in the Frequency Domain. MATLAB/Image Processing Toolbox. MATLAB Fourier transforms >> f=imread(‘Figure_Rectangle.jpg’); % load in spatial rectangle - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 2: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 3: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 4: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

MATLAB/Image Processing ToolboxMATLAB/Image Processing Toolbox

MATLAB Fourier transforms

>> f=imread(‘Figure_Rectangle.jpg’); % load in spatial rectangle>> F=fft2(f); % do 2D FFT>> S=abs(F); % determine magnitude for display>> imshow(S, [ ]) % shows in four corners of display>> Fc=fftshift(F); % shift FFT to center>> imshow(abs(Fc), [ ]); % show magnitude of FFT in center

% much tougher to do display transform>> g=im2unit8(mat2gray(log(1+double(f))));>> imshow(g)% double converts the image to double precision floating point% mat2gray brings the values to the range [0,1]% im2unit8 brings the values back to the range [0,255]

% general log transform>> g=im2unit8(mat2gray(c*log(1+double(f))));

SEE GWE, Section 4.2 Computing and Visualizing the 2-D DFT in MATLABGWE, Section 3.2.2 Logarithmic and Contrast Stretching Transformations

Page 5: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 6: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 7: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 8: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 9: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 10: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 11: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 12: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 13: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 14: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 15: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 16: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 17: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 18: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 19: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 20: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 21: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 22: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 23: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 24: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 25: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 26: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 27: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 28: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 29: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 30: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 31: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 32: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 33: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 34: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 35: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 36: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 37: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 38: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 39: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 40: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 41: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 42: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 43: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 44: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain

Page 45: Chapter 4 Image Enhancement in the Frequency Domain

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 4Image Enhancement in the

Frequency Domain

Chapter 4Image Enhancement in the

Frequency Domain