📄 ff.m
字号:
close all
clear all
clc
% Load a gray scale image
I=imread('pout.tif');
%
% Show the image
figure(1);imshow(I,[]);
%
% Take the 2D Fast Fourier Transform
FI = fft2(I);
%
% Shift the DC component to the center
SFI = fftshift(FI);
%
% Use logarithmic compression of dynamic range
% and display the image
figure(2);imshow(log(1+abs(SFI)),[]);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -