|
mmcfilters
Public API documentation
|
Direct attribute filter using reconstructed-parent altitude propagation. More...
#include <AttributeReconstructionFilters.hpp>
Public Types | |
| using | ReconstructionPolicy = DirectReconstruction |
| Reconstruction policy implemented by this filter. | |
Public Member Functions | |
| DirectAttributeFilter (ValuedMorphologicalTreeView< T > valuedTree) | |
| Creates a direct filter over a valued-tree view. | |
| DirectAttributeFilter (const ValuedMorphologicalTree< T > &valuedTree) | |
| Creates a direct filter over an owning valued tree. | |
| template<detail::NodePreservationDecisions Mask> | |
| ImagePtr< T > | applyDirectAttributeFilter (const Mask &nodePreservationMask) const |
| Applies direct reconstruction under node-preservation decisions. | |
Direct attribute filter using reconstructed-parent altitude propagation.
| T | Node-altitude value type. |
Definition at line 153 of file AttributeReconstructionFilters.hpp.
| using mmcfilters::DirectAttributeFilter< T >::ReconstructionPolicy = DirectReconstruction |
Reconstruction policy implemented by this filter.
Definition at line 159 of file AttributeReconstructionFilters.hpp.
|
inlineexplicit |
Creates a direct filter over a valued-tree view.
| valuedTree | Valued tree whose topology and altitudes drive reconstruction. |
Definition at line 165 of file AttributeReconstructionFilters.hpp.
|
inlineexplicit |
Creates a direct filter over an owning valued tree.
| valuedTree | Valued tree whose topology and altitudes drive reconstruction. |
Definition at line 171 of file AttributeReconstructionFilters.hpp.
|
inlinenodiscard |
Applies direct reconstruction under node-preservation decisions.
The root altitude is always retained, regardless of its mask decision.
| nodePreservationMask | Dense mask where true preserves the node altitude. |
Definition at line 180 of file AttributeReconstructionFilters.hpp.