[mmMaxaopenth] [Up] [mmMaxaopenthmt] Attribute Openings

mmMaxaopenmt
Attribute opening. Returns a new MaxTree.

Synopsis

MaxTree mmMaxaopenmt ( const MaxTree& maxtree , const String& attr , const Double& value , const Double& value2 = 0.0 );

Input

maxtree MaxTree

The MaxTree to be pruned.

attr String

Attribute: "area", "height", "volume", "bbox".

value Double

Attribute value.

value2 Double

Optional attribute value.

Default: 0.0

Output

y MaxTree

The pruned MaxTree.

Description

This function is like mmMaxaopen but returns the pruned tree instead of the resulting image.

[mmMaxaopenth] [Up] [mmMaxaopenthmt]