Jump to content

User:KCote/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
KCote (talk | contribs)
No edit summary
KCote (talk | contribs)
No edit summary
Line 44: Line 44:
| MATLAB Script:
| MATLAB Script:


|img=checkerboard(size);
img=checkerboard(size);


|F=fft2(img);
F=fft2(img);


|F=fftshift(F);
F=fftshift(F);


|imshow(log(1+abs(F)))
imshow(log(1+abs(F)))


| [[File:Affine_Transformation_Rotated_Checkerboard.jpg]]
| [[File:Affine_Transformation_Rotated_Checkerboard.jpg]]

Revision as of 22:38, 29 April 2017


Filter type Kernel or mask Example
Original Image
Mean filter
Laplacian
Fourier Representation align="left" MATLAB Script:

img=checkerboard(size);

F=fft2(img);

F=fftshift(F);

imshow(log(1+abs(F)))

File:Affine Transformation Rotated Checkerboard.jpg
Shear File:Affine Transformation Shear Checkerboard.jpg

References

  • Berger, Marcel (1987), Geometry I, Berlin: Springer, ISBN 3-540-11658-3