www.pudn.com > lianma.rar > dailianma.m, change:2011-12-18,size:228b


function x=dailianma(y) 
flag_index=2; 
[M,N]=size(y); 
b = boundaries(y, 4, 'cww');   
d = cellfun('length', b); 
[max_d, k] = max(d); 
b = b{1}; 
bim = bound2im(b, M, N, min(b(:,1)), min(b(:,2))); 
c = fchcode(b); 
x=c.diffmm;