| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] | SDC Morphology Toolbox V1.1 15Jan02 |
y = mmclohole( f, Bc ) f: Gray-scale (uint8 or uint16) or binary image (logical uint8). Bc: Structuring element. ( connectivity). Default: Elementary cross (mmsecross).y: Gray-scale (uint8 or uint16) or binary image (logical uint8). (same as f).mmclohole creates the image y by closing the holes of the image f, according with the connectivity defined by the structuring element Bc.The images can be either binary or gray-scale.a = mmreadgray('pcb1bin.tif'); b = mmclohole(a); mmshow(a); mmshow(b);
|
a = mmreadgray('boxdrill-B.tif'); b = mmclohole(a); mmshow(a); mmshow(b);
|

function y=mmclohole_equ( f, bc) delta_f = mmframe(f); y = mmneg(mminfrec(delta_f,mmneg(f),bc));
| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] |
|
| Copyright (c) 1998-2002 by SDC Information Systems | ||