MorphologicalAttributeFilters
Public API documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
mmcfilters::DirectAttributeFilter< T > Class Template Reference

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.
 
ImagePtr< T > applyDirectAttributeFilter (const NodePreservationMask &nodePreservationMask) const
 Applies direct reconstruction under node-preservation decisions.
 

Detailed Description

template<AltitudeValue T>
class mmcfilters::DirectAttributeFilter< T >

Direct attribute filter using reconstructed-parent altitude propagation.

Template Parameters
TNode-altitude value type.

Definition at line 122 of file AttributeReconstructionFilters.hpp.

Member Typedef Documentation

◆ ReconstructionPolicy

template<AltitudeValue T>
using mmcfilters::DirectAttributeFilter< T >::ReconstructionPolicy = DirectReconstruction

Reconstruction policy implemented by this filter.

Definition at line 128 of file AttributeReconstructionFilters.hpp.

Constructor & Destructor Documentation

◆ DirectAttributeFilter() [1/2]

template<AltitudeValue T>
mmcfilters::DirectAttributeFilter< T >::DirectAttributeFilter ( ValuedMorphologicalTreeView< T >  valuedTree)
inlineexplicit

Creates a direct filter over a valued-tree view.

Parameters
valuedTreeValued tree whose topology and altitudes drive reconstruction.

Definition at line 134 of file AttributeReconstructionFilters.hpp.

◆ DirectAttributeFilter() [2/2]

template<AltitudeValue T>
mmcfilters::DirectAttributeFilter< T >::DirectAttributeFilter ( const ValuedMorphologicalTree< T > &  valuedTree)
inlineexplicit

Creates a direct filter over an owning valued tree.

Parameters
valuedTreeValued tree whose topology and altitudes drive reconstruction.

Definition at line 140 of file AttributeReconstructionFilters.hpp.

Member Function Documentation

◆ applyDirectAttributeFilter()

template<AltitudeValue T>
ImagePtr< T > mmcfilters::DirectAttributeFilter< T >::applyDirectAttributeFilter ( const NodePreservationMask nodePreservationMask) const
inline

Applies direct reconstruction under node-preservation decisions.

Parameters
nodePreservationMaskDense mask where true preserves the node altitude.
Returns
Reconstructed image in the original altitude type.

Definition at line 147 of file AttributeReconstructionFilters.hpp.


The documentation for this class was generated from the following file: