int num_elts,const int scale,const int step_size,double p_sumVect)你定义的函数 是5个参数的 scale_sum(color_img,scale);调用的时候 只有2个参数 系统会寻找名为scale_sum,形参为2个的函数 找不到 自然就报错了
const int scale, const int step_size,double *p_sumVect) 你定义的函数 是5个参数的 scale_sum(color_img, scale);调用的时候 只有2个参数 系统会寻找名为scale_sum,形参为2个的函数 找不到 自然就报错了
%array(元包数组)B so that each cell initially contains a 0_by_2 matrix. numObjects=max(L(:));%寻找L中所作标记中的最大值,这个最大值实际上就对应着L中 % 包含的最多的连通部分的数目。 if numObjects>0 B={zeros(0,2)};%元包数组中仅包含一个元素。 B=repmat(B,numObjects,1);%将B进...