Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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 vue (au cours des 30 derniers jours)
Ramya Sampath
Ramya Sampath le 21 Sep 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by