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 日間)
Ramya Sampath
Ramya Sampath 2012 年 9 月 21 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by