?? meanshiftinit.m
字號:
function g=meanshiftinit(x,h) ;% initialize the mean-shift procedure% What is the maximum distance we want to take into accounttolk=1e-3 ; tolx=sqrt(-2*log(tolk)) ;hmax=tolx * h ; g=rangegrid(x,hmax) ;g.hmax=hmax ;g.h=h ;g.plot=0 ;%g.x=x ;if g.plot, clf ; plot(x(:,2),x(:,1),'b.') ; axis equal ; hold on ;end ;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -