| [mmMaxpropagate] [Up] [mmMaxaopenth] | Attribute Openings |
| User Feedback |
| y | Image
Filtered Image. |
This function implements attribute openings and returns the filtered image. The following filters are implemented:
"area" - prune nodes with area less than value. Equivalent to mmareaopen."height" - prune nodes with height less than value. Equivalent to mmhmax."volume" - prune nodes with volume less than value. Equivalent to mmvmax."bbox" - prune nodes with bounding box width less than valueand bounding box height less than value2.
Image a = mmReadgray("cameraman.tif");
MaxTree mt = mmMaxtree(a);
mmShow(a);
//
Image c1 = mmMaxaopen(mt, "area", 350);
mmShow(c1);
//
Image c2 = mmMaxaopen(mt, "height", 50);
mmShow(c2);
//
Image c3 = mmMaxaopen(mt, "volume", 5000);
mmShow(c3);
//
Image c4 = mmMaxaopen(mt, "bbox", 50, 50);
mmShow(c4);
![]() |
![]() |
|
| a | c1 |
![]() |
![]() |
|
| c2 | c3 |
![]() |
|
| c4 |
| [mmMaxpropagate] [Up] [mmMaxaopenth] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |