| [mmedgeoff] [Up] [mmcloserecth] | Residues |
| User Feedback |
| f | Image Binary image |
| B | Structuring Element |
| n | Double
positive integer ( filtering rate) |
| y | Image Binary image |
mmcbisector creates the binary image y by performing a filtering of the morphological skeleton of the binary image f, relative to the structuring element B. The strength of this filtering is controlled by the parameter n. Particularly, if n=0, y is the morphological skeleton of f itself.

function y=mmcbisector_equ(f, B, n)
y = mmbinary(zeros(size(f)));
for i=0:length(f)
nb = mmsesum(B,i);
nbp = mmsesum(B,i+1);
f1 = mmero(f,nbp);
f2 = mmcdil(f1,f,B,n);
f3 = mmsubm(mmero(f,nb),f2);
y = mmunion(y,f3);
end;
| [mmedgeoff] [Up] [mmcloserecth] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |