[mmMaxaopenmt] [Up] [mmMaxregmax] Attribute Openings

mmMaxaopenthmt
Attribute opening top hat. Returns a new MaxTree.

Synopsis

MaxTree mmMaxaopenthmt ( 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 top-hat pruned tree.

Description

This function is like mmMaxaopen but returns the top-hat tree (i.e. the MaxTree corresponding to the residue of the opening).

[mmMaxaopenmt] [Up] [mmMaxregmax]