mmcfilters
Public API documentation
Loading...
Searching...
No Matches
mmcfilters::SoftSubtractiveAttributeFilter< T, Real > Class Template Reference

Soft subtractive filter using scores in [0,1] to gate zero-baseline residues. More...

#include <AttributeReconstructionFilters.hpp>

Public Types

using ReconstructionPolicy = SubtractiveResidueModulation
 Reconstruction policy implemented by this filter.

Public Member Functions

 SoftSubtractiveAttributeFilter (ValuedMorphologicalTreeView< T > valuedTree)
 Creates a soft subtractive filter over a valued-tree view.
 SoftSubtractiveAttributeFilter (const ValuedMorphologicalTree< T > &valuedTree)
 Creates a soft subtractive filter over an owning valued tree.
ImagePtr< Real > applySoftSubtractiveAttributeFilter (std::span< const Real > nodePreservationScores) const
 Reconstructs from residues modulated by preservation scores.

Detailed Description

template<AltitudeValue T, std::floating_point Real = float>
class mmcfilters::SoftSubtractiveAttributeFilter< T, Real >

Soft subtractive filter using scores in [0,1] to gate zero-baseline residues.

Template Parameters
TNode-altitude value type.
RealFloating-point score and output type.

Definition at line 231 of file AttributeReconstructionFilters.hpp.

Member Typedef Documentation

◆ ReconstructionPolicy

template<AltitudeValue T, std::floating_point Real = float>
using mmcfilters::SoftSubtractiveAttributeFilter< T, Real >::ReconstructionPolicy = SubtractiveResidueModulation

Reconstruction policy implemented by this filter.

Definition at line 237 of file AttributeReconstructionFilters.hpp.

Constructor & Destructor Documentation

◆ SoftSubtractiveAttributeFilter() [1/2]

template<AltitudeValue T, std::floating_point Real = float>
mmcfilters::SoftSubtractiveAttributeFilter< T, Real >::SoftSubtractiveAttributeFilter ( ValuedMorphologicalTreeView< T > valuedTree)
inlineexplicit

Creates a soft subtractive filter over a valued-tree view.

Parameters
valuedTreeValued tree whose residues drive reconstruction.

Definition at line 243 of file AttributeReconstructionFilters.hpp.

◆ SoftSubtractiveAttributeFilter() [2/2]

template<AltitudeValue T, std::floating_point Real = float>
mmcfilters::SoftSubtractiveAttributeFilter< T, Real >::SoftSubtractiveAttributeFilter ( const ValuedMorphologicalTree< T > & valuedTree)
inlineexplicit

Creates a soft subtractive filter over an owning valued tree.

Parameters
valuedTreeValued tree whose residues drive reconstruction.

Definition at line 249 of file AttributeReconstructionFilters.hpp.

Member Function Documentation

◆ applySoftSubtractiveAttributeFilter()

template<AltitudeValue T, std::floating_point Real = float>
ImagePtr< Real > mmcfilters::SoftSubtractiveAttributeFilter< T, Real >::applySoftSubtractiveAttributeFilter ( std::span< const Real > nodePreservationScores) const
inlinenodiscard

Reconstructs from residues modulated by preservation scores.

Parameters
nodePreservationScoresDense score buffer indexed by the internal node-slot domain.
Returns
Zero-baseline subtractive reconstruction in the score type.

Definition at line 256 of file AttributeReconstructionFilters.hpp.


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