📄 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 + -