資源簡介
基于fft的mp代碼,用于數(shù)字圖像處理,相互學習交流

代碼片段和文件信息
function?atom=atomformation(hyhxxitasxsymnx0y0)
%?to?form?one?atom?using?the?parameters?xita?(angle)?sx?(scale?in?x
%?direction)??sy?(scale?in?y?direction?)?with?the?center?of?atom?is?(m/2n/2)
%?the?normalization?process?is?included?in?this?program
%[hyhx]=meshgrid(0:m-10:n-1);
%?the?center;
%x0=m/2;
%y0=n/2;
%?the?translation
hx=hx-x0;
hy=hy-y0;
%?xuan?zhuan
xitareal=xita/max(mn)*2.*pi;
yinsin=sin(xitareal);
yincos=cos(xitareal);
%?the?scale
NN=5;
sxtr=2^(sx/NN);
sytr=2^(sy/NN);
%?the?all?operation
xtr=(yincos*hx+yinsin*hy)/sxtr;
ytr=(yincos*hy-yinsin*hx)/sytr;
%?form?the?atom
atom=(4.*xtr.*xtr-2).*exp(-xtr.*xtr-ytr.*ytr);
atomenergy=sum(sum(atom.*atom));
atom=atom/sqrt(atomenergy);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2663??2007-07-23?16:08??mpimagewithoutdic.m
?????文件????????570??2007-08-28?17:24??psnr.m
?????文件???????1500??2007-07-23?11:56??select_best_i.m
?????文件???????2043??2007-07-23?17:32??select_best_ifft.m
?????文件????????775??2007-06-03?11:28??atomformation.m
?????文件????????556??2007-06-02?17:12??dic_i.m
?????文件???????2546??2009-07-29?10:18??mpfftimage.m
?????文件???????2751??2007-08-29?15:40??mpfftimagewithoutdic.m
-----------?---------??----------?-----??----
????????????????13404????????????????????8
評論
共有 條評論