来自极坐标图数据的频域

时间:2015-02-21 17:41:18

标签: matlab image-processing fft

我将图片边界坐标(x,y)转换成极坐标图(theta,rho),现在我需要在频域中处理数据rho。有人可以建议怎么做,拜托?这是我的代码和图片:

http://www.nahraj-obrazek.cz/?di=014245375032 http://www.nahraj-obrazek.cz/?di=3142453758011

BW=im2bw(I);
BWH=imfill(BW,'holes'); 
BWE=edge(BWH,'canny'); 
boundaries=bwboundaries(BWE); 
b=boundaries; x=b(:,2); y=b(:,1); 
% cartesian plot 
X=x-mean(x); 
Y=y-mean(y); 
THETA=X; 
RHO=Y; 
[THETA,RHO]=cart2pol(X,Y); 
% polar plot 
RHO1=smooth(RHO,10); 
% smoothing data 
plot(RHO1);

频域是什么意思,是通过fft ??

提前致谢!

0 个答案:

没有答案