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

Topology-only approximate distance-transform attribute computer. More...

#include <MaxDistComputer.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 approximate distance-transform projections.
 
template<std::floating_point Real>
static void computeUnitRows (const UnitAttributeComputeContext< Real > &context)
 Materializes approximate unit-support values.
 

Static Public Attributes

static constexpr std::string_view familyName = "max-dist"
 Family name used in dependency-plan diagnostics.
 
static constexpr AttributeComputerFamily family = AttributeComputerFamily::MaxDist
 Stable family id used by the scheduler.
 
static constexpr AttributeComputerDomain domain = AttributeComputerDomain::Topology
 Approximate 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 approximate distance-transform attribute computer.

Definition at line 379 of file MaxDistComputer.hpp.

Member Function Documentation

◆ compute()

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

Computes requested approximate distance-transform projections.

Template Parameters
RealOutput scalar type.
Parameters
contextEstablished compute context.

Definition at line 425 of file MaxDistComputer.hpp.

◆ computeUnitRows()

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

Materializes approximate unit-support values.

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

Definition at line 436 of file MaxDistComputer.hpp.

◆ requireSupportedTreeKind()

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

Validates the topology-only geometric capability contract.

Parameters
treeTree to validate.

Definition at line 422 of file MaxDistComputer.hpp.

Member Data Documentation

◆ domain

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

Approximate distance-transform attributes require topology/support, not altitudes.

Definition at line 388 of file MaxDistComputer.hpp.

◆ family

constexpr AttributeComputerFamily mmcfilters::attributes::computers::MaxDistComputer::family = AttributeComputerFamily::MaxDist
staticconstexpr

Stable family id used by the scheduler.

Definition at line 385 of file MaxDistComputer.hpp.

◆ familyName

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

Family name used in dependency-plan diagnostics.

Definition at line 382 of file MaxDistComputer.hpp.

◆ producedAttributes

constexpr std::array<Attribute, 29> mmcfilters::attributes::computers::MaxDistComputer::producedAttributes
inlinestaticconstexpr
Initial value:
{MaxDist,
MaxSquaredDist,
DistSquaredSum,
DistSquaredMean,
DistRms,
DistSquaredVariance,
MaxDistCenterRow,
MaxDistCenterColumn,
MaxDistPlateauArea,
MaxDistPlateauCentroidRow,
MaxDistPlateauCentroidColumn,
DistSum,
DistMean,
DistVariance,
DistMedian,
DistMode,
DistQ25,
DistQ75,
DistQ90,
DistEntropy,
DistPositiveArea,
DistLevelCount,
DistWeightedCentroidRow,
DistWeightedCentroidColumn,
DistWeightedCentralMoment20,
DistWeightedCentralMoment02,
DistWeightedCentralMoment11,
DistWeightedAxisOrientation,
DistWeightedEccentricity}

Canonical list of scalar descriptors materialized by this computer.

Definition at line 391 of file MaxDistComputer.hpp.


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