mmcfilters
Public API documentation
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
mmcfilters::attributes::computers::MaxDistExactComputer Class Reference

Topology-only scalar computer for attributes derived from the node EDT. More...

#include <MaxDistExactComputer.hpp>

Static Public Member Functions

static void requireSupportedTreeKind (const MorphologicalTree &tree)
 Validates the topology-only geometric capability contract.
 
template<std::floating_point Real>
static void compute (const AttributeComputeContext< Real > &context)
 Computes requested distance-transform projections in one pass.
 
template<std::floating_point Real>
static void computeUnitRows (const UnitAttributeComputeContext< Real > &context)
 Materializes zero for one-pixel unit supports.
 

Static Public Attributes

static constexpr std::string_view familyName = "max-dist-exact"
 Family name used in dependency-plan diagnostics.
 
static constexpr AttributeComputerFamily family = AttributeComputerFamily::MaxDistExact
 Stable family id used by the scheduler.
 
static constexpr AttributeComputerDomain domain = AttributeComputerDomain::Topology
 Distance-transform attributes require topology/support, not altitudes.
 
static constexpr std::array< Attribute, 29 > producedAttributes
 Canonical list of scalar descriptors materialized by this computer.
 

Detailed Description

Topology-only scalar computer for attributes derived from the node EDT.

Requested exact distance-derived projections share a single transform traversal and one support enumeration per node.

Definition at line 477 of file MaxDistExactComputer.hpp.

Member Function Documentation

◆ compute()

template<std::floating_point Real>
static void mmcfilters::attributes::computers::MaxDistExactComputer::compute ( const AttributeComputeContext< Real > &  context)
inlinestatic

Computes requested distance-transform projections in one pass.

Template Parameters
RealOutput scalar type.
Parameters
contextEstablished compute context.

Definition at line 523 of file MaxDistExactComputer.hpp.

◆ computeUnitRows()

template<std::floating_point Real>
static void mmcfilters::attributes::computers::MaxDistExactComputer::computeUnitRows ( const UnitAttributeComputeContext< Real > &  context)
inlinestatic

Materializes zero for one-pixel unit supports.

Template Parameters
RealOutput scalar type.
Parameters
contextEstablished unit-row context.

Definition at line 532 of file MaxDistExactComputer.hpp.

◆ requireSupportedTreeKind()

static void mmcfilters::attributes::computers::MaxDistExactComputer::requireSupportedTreeKind ( const MorphologicalTree tree)
inlinestatic

Validates the topology-only geometric capability contract.

Parameters
treeTree to validate.

Definition at line 520 of file MaxDistExactComputer.hpp.

Member Data Documentation

◆ domain

constexpr AttributeComputerDomain mmcfilters::attributes::computers::MaxDistExactComputer::domain = AttributeComputerDomain::Topology
staticconstexpr

Distance-transform attributes require topology/support, not altitudes.

Definition at line 486 of file MaxDistExactComputer.hpp.

◆ family

constexpr AttributeComputerFamily mmcfilters::attributes::computers::MaxDistExactComputer::family = AttributeComputerFamily::MaxDistExact
staticconstexpr

Stable family id used by the scheduler.

Definition at line 483 of file MaxDistExactComputer.hpp.

◆ familyName

constexpr std::string_view mmcfilters::attributes::computers::MaxDistExactComputer::familyName = "max-dist-exact"
staticconstexpr

Family name used in dependency-plan diagnostics.

Definition at line 480 of file MaxDistExactComputer.hpp.

◆ producedAttributes

constexpr std::array<Attribute, 29> mmcfilters::attributes::computers::MaxDistExactComputer::producedAttributes
inlinestaticconstexpr
Initial value:
{MaxDistExact,
MaxSquaredDistExact,
DistSquaredSumExact,
DistSquaredMeanExact,
DistRmsExact,
DistSquaredVarianceExact,
MaxDistCenterRowExact,
MaxDistCenterColumnExact,
MaxDistPlateauAreaExact,
MaxDistPlateauCentroidRowExact,
MaxDistPlateauCentroidColumnExact,
DistSumExact,
DistMeanExact,
DistVarianceExact,
DistMedianExact,
DistModeExact,
DistQ25Exact,
DistQ75Exact,
DistQ90Exact,
DistEntropyExact,
DistPositiveAreaExact,
DistLevelCountExact,
DistWeightedCentroidRowExact,
DistWeightedCentroidColumnExact,
DistWeightedCentralMoment20Exact,
DistWeightedCentralMoment02Exact,
DistWeightedCentralMoment11Exact,
DistWeightedAxisOrientationExact,
DistWeightedEccentricityExact}

Canonical list of scalar descriptors materialized by this computer.

Definition at line 489 of file MaxDistExactComputer.hpp.


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