Info
此问题已关闭。 请重新打开它进行编辑或回答。
Am new to in computer vision domain.. I converted 2d image into 1d image.. now i want to apply 1d FFT manually.. can anyone help with the code...?
1 次查看(过去 30 天)
显示 更早的评论
still now i did
is this correct...?
if true
% code
clc;
close all;
imtool close all;
clear;
a=imread('cameraman.tif');
n=imcrop(a);
[r,c]=size(n);
k=[];
for i=1:r
t=a(1,:);
k=[k;t'];
end
figure(1),imshow(k)
ft=fft(k,1);
figure(2),imshow(ft)
end
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!