1 / 61

Chapter 4 Image Enhancement in the Frequency Domain

Chapter 4 Image Enhancement in the Frequency Domain. Chapter 4 Image Enhancement in the Frequency Domain. Chapter 4 Image Enhancement in the Frequency Domain. Chapter 4 Image Enhancement in the Frequency Domain. Chapter 4 Image Enhancement in the Frequency Domain. Chapter 4

reddish
Download Presentation

Chapter 4 Image Enhancement in the Frequency Domain

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 4 Image Enhancement in the Frequency Domain

  2. Chapter 4 Image Enhancement in the Frequency Domain

  3. Chapter 4 Image Enhancement in the Frequency Domain

  4. Chapter 4 Image Enhancement in the Frequency Domain

  5. Chapter 4 Image Enhancement in the Frequency Domain

  6. Chapter 4 Image Enhancement in the Frequency Domain

  7. Chapter 4 Image Enhancement in the Frequency Domain

  8. Chapter 4 Image Enhancement in the Frequency Domain

  9. Chapter 4 Image Enhancement in the Frequency Domain

  10. Chapter 4 Image Enhancement in the Frequency Domain

  11. Chapter 4 Image Enhancement in the Frequency Domain

  12. Chapter 4 Image Enhancement in the Frequency Domain

  13. Chapter 4 Image Enhancement in the Frequency Domain

  14. Chapter 4 Image Enhancement in the Frequency Domain

  15. Chapter 4 Image Enhancement in the Frequency Domain

  16. Chapter 4 Image Enhancement in the Frequency Domain

  17. Chapter 4 Image Enhancement in the Frequency Domain

  18. Chapter 4 Image Enhancement in the Frequency Domain

  19. DFT in Matlab Compute DFT: >> f = imread(’center_bump.tif’); >> F = fft2(f); >> S = abs(F); >>imshow(S,[])

  20. Centering DFT • >> Fc=fftshift(F); • >> imshow(abs(Fc),[])

  21. Sharpening by Log Transform >> S2=log(1+abs(Fc)); >> imshow(S2,[])

  22. >> F=ifftshift(Fc); >> f=ifft2(F); >> f=real(ifft2(F)); From DFT back to signal

  23. Basic Frequency Filtering >> f=imread(’square_original.tif’); >> [M,N]=size(f); >> F=fft2(f); >> sig=10; >> H=lpfilter(’gaussian’,M,N,sig); >> G=H.*F; >> g=real(ifft2(G)); >> imshow(g,[])

  24. Chapter 4 Frequency Domain (the need for padding)

  25. Chapter 4 Frequency Domain (the need for padding)

  26. Chapter 4 Frequency Domain (why padding)

  27. Chapter 4 Image Enhancement in the Frequency Domain

  28. Chapter 4 Image Enhancement in the Frequency Domain

  29. Chapter 4 Image Enhancement in the Frequency Domain

  30. Chapter 4 Frequency Domain Processing

  31. Chapter 4 Frequency Domain Processing

  32. Chapter 4 Frequency Domain Processing

  33. Chapter 4 Frequency Domain Processing

  34. Assume images f(x,y) & h(x,y) of sizes A × B and C × D Form two padded functions of size P × Q by appending zeros to f and g. You can show that wraparound error is avoided by choosing P  A + C − 1 and Y  B + D − 1 For special case of f(x,y) & h(x,y) of the same size, M × N, we pad with P  2M − 1 and Q  2N − 1 Padding in Practice

  35. Padding in Practice >> PQ=paddedsize(size(f)); %Compute the FFT with padding. >> Fp=fft2(f,PQ(1),PQ(2)); >> Hp=lpfilter(’gaussian’,PQ(1),PQ(2),2*sig); >> Gp=Hp.*Fp; >> gp=real(ifft2(Gp)); >> gpc=gp(1:size(f,1),1:size(f,2)); >> imshow(gp,[]) >> imshow(gpc,[])

  36. Chapter 4 Image Enhancement in the Frequency Domain

  37. Chapter 4 Image Enhancement in the Frequency Domain

  38. Chapter 4 Image Enhancement in the Frequency Domain

  39. Chapter 4 Image Enhancement in the Frequency Domain

  40. Chapter 4 Image Enhancement in the Frequency Domain

  41. Chapter 4 Image Enhancement in the Frequency Domain

  42. Chapter 4 Image Enhancement in the Frequency Domain

  43. Chapter 4 Image Enhancement in the Frequency Domain

  44. Chapter 4 Image Enhancement in the Frequency Domain

  45. Chapter 4 Image Enhancement in the Frequency Domain

  46. Chapter 4 Image Enhancement in the Frequency Domain

  47. Chapter 4 Image Enhancement in the Frequency Domain

  48. Chapter 4 Image Enhancement in the Frequency Domain

  49. Chapter 4 Image Enhancement in the Frequency Domain

  50. Chapter 4 Image Enhancement in the Frequency Domain

More Related