4#include "ProperPartDomain.hpp"
5#include "../utils/Altitude.hpp"
6#include "../utils/Common.hpp"
int NodeId
Node identifier type used throughout the project.
constexpr NodeId InvalidNode
Sentinel value used to denote an invalid node identifier.
Immutable scientific metadata attached to a morphological tree.
Immutable scientific interpretation attached to one morphological tree.
Typed non-owning output contract shared by native hierarchy producers.
std::span< const NodeId > smallestNodeMap
Inclusion-smallest node containing each pixel.
std::span< const T > nodeAltitudes
Altitude value for every internal-node slot.
std::span< const NodeId > parent
Parent id for every internal-node slot.
MorphologicalTreeSemantics semantics
Altitude-order and adjacency capabilities of the hierarchy.
std::optional< GridDomain2D > gridDomain2D
Optional row/column interpretation of pixel ids.