|
mmcfilters
Public API documentation
|
Public topology-only computation of node distance fields and profiles. More...
#include <DistanceTransformComputation.hpp>
Static Public Member Functions | |
| static NodeDistanceField | computeNodeField (const MorphologicalTree &tree, NodeId node, DistanceTransformAccuracy accuracy=DistanceTransformAccuracy::Exact) |
| Materializes the compact field of one live node. | |
| static DistanceTransformProfiles | computeProfiles (const MorphologicalTree &tree, DistanceTransformAccuracy accuracy=DistanceTransformAccuracy::Exact) |
| Computes sorted sparse histograms for every live node. | |
Public topology-only computation of node distance fields and profiles.
Exact single-node fields use a directed provider that transforms only the requested support bounding box after shared topology indexes are built. Approximate fields and both profile backends retain their hierarchy-wide traversal semantics.
Definition at line 26 of file DistanceTransformComputation.hpp.
|
inlinestatic |
Materializes the compact field of one live node.
| tree | Regular 2D morphological-tree topology. |
| node | Live internal node to materialize. |
| accuracy | Exact or approximate numerical backend. |
Exact accuracy transforms only the selected node. Approximate accuracy traverses the shared hierarchy-wide DIFT and copies only this node.
Definition at line 45 of file DistanceTransformComputation.hpp.
|
inlinestatic |
Computes sorted sparse histograms for every live node.
| tree | Regular 2D morphological-tree topology. |
| accuracy | Exact or approximate numerical backend. |
The approximate backend selects a histogram-only observer, avoiding scalar- and spatial-moment storage and updates.
Definition at line 91 of file DistanceTransformComputation.hpp.