| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] | SDC Morphology Toolbox V1.1 15Jan02 |
y = mmvdome( f, v, Bc ) f: Gray-scale (uint8 or uint16) image. v: Volume parameter. Default: 1.Bc: Structuring element. Structuring element (connectivity). Default: Elementary cross (mmsecross).y: Gray-scale (uint8 or uint16) or binary image (logical uint8). mmvdome This operator removes connected domes with volume smaller than v. This function is very similar to mmvdome, but instead of using a grayscale criteria (contrast) for the dome, it uses a volume criteria.
a = uint8([...
4 3 6 1 3 5 2;...
2 9 6 1 6 7 3;...
8 9 3 2 4 9 4;...
3 1 2 1 2 4 2]);
b = mmvdome(a,10,mmsebox)
b =
4 3 6 1 3 5 2
2 6 6 1 5 5 3
6 6 3 2 4 5 4
3 1 2 1 2 4 2
|
f = mmreadgray('r4x2_256.tif'); s=f(10,1:end/2); t = mmvdome(s,20); plot(s); plot([s',t']);
|
f = mmreadgray('astablet.tif'); mmshow(f); fb = mmvdome(f,80000); mmshow(fb); mmshow(mmregmax(fb));
|
| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] |
|
| Copyright (c) 1998-2002 by SDC Information Systems | ||