User:KCote/sandbox: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 41: | Line 41: | ||
|- |
|- |
||
| '''[[Fast Fourier transform|Fourier Representation]]''' |
| '''[[Fast Fourier transform|Fourier Representation]]''' |
||
| Pseudo-code: |
|||
| MATLAB Script: |
|||
image = checkerboard |
|||
F = Fourier Transform of image |
|||
F=fft2(img); |
|||
Show Image: log(1+Absolute Value(F)) |
|||
F=fftshift(F); |
|||
imshow(log(1+abs(F))) |
|||
| align="center"| [[File:Fourier Space Checkerboard.png]] |
| align="center"| [[File:Fourier Space Checkerboard.png]] |
||
|- |
|- |
||
| '''Fourier Lowpass''' |
| '''Fourier Lowpass''' |
||
| [[File:Lowpass_Butterworth_Checkerboard.png]] |
| align="center"| [[File:Lowpass_Butterworth_Checkerboard.png]] |
||
| [[File:Lowpass_FFT_Filtered_checkerboard.png]] |
| align="center"| [[File:Lowpass_FFT_Filtered_checkerboard.png]] |
||
|- |
|- |
||
| '''Fourier Highpass''' |
| '''Fourier Highpass''' |
||
| [[File:Highpass_Butterworth_Checkerboard.png]] |
| align="center"| [[File:Highpass_Butterworth_Checkerboard.png]] |
||
| [[File:Highpass_FFT_Filtered_checkerboard.png]] |
| align="center"| [[File:Highpass_FFT_Filtered_checkerboard.png]] |
||
|- |
|- |
||
|} |
|} |
Latest revision as of 19:31, 30 April 2017
Filter type | Kernel or mask | Example |
---|---|---|
Original Image | ||
Spatial Lowpass | ||
Spatial Highpass | ||
Fourier Representation | Pseudo-code:
image = checkerboard F = Fourier Transform of image Show Image: log(1+Absolute Value(F)) |
|
Fourier Lowpass | ||
Fourier Highpass |
References
[edit]- Berger, Marcel (1987), Geometry I, Berlin: Springer, ISBN 3-540-11658-3