[maxaopenmt] [Up] [maxregmax] Attribute Openings

maxaopenthmt
Attribute opening top hat. Returns a new MaxTree.

Synopsis

y = maxaopenthmt ( maxtree , attr , value , 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 (0.0)

Output

y MaxTree

The top-hat pruned tree.

Description

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

[maxaopenmt] [Up] [maxregmax]