|
mmcfilters
Public API documentation
|
Algorithm 1 of paper: "The Extremum Residual Tree: A Self-Dual Morphological Tree Based on Levelings", DGMM 2027. More...
#include <ExtremumResidualTreeByCTsBuilder.hpp>
Public Member Functions | |
| ExtremumResidualTreeByCTsBuilder (RegularGridAdjacency2D adjacency) | |
| Configures component-tree construction with a shared adjacency and row-major spatial ties. | |
| NativeHierarchyOwned< T > | build (const ImagePtr< T > &image) |
| Builds temporary min/max trees and records the extremum residual hierarchy. | |
| const RegularGridAdjacency2D & | adjacency () const noexcept |
| Exposes the shared component-tree adjacency. | |
Friends | |
| struct | detail::ExtremumResidualTreeTestAccess< T > |
Algorithm 1 of paper: "The Extremum Residual Tree: A Self-Dual Morphological Tree Based on Levelings", DGMM 2027.
ExtremumAgenda orders nonterminal leaves by support cardinality and minimum row-major pixel (Eqs. 16, 30). ResidualTreeConstruction records supports, maintains Xi, and indexes pending supports by their containing proper parts in both component trees (Eqs. 31-32). Selected supports come from current leaf proper parts. DualMinMaxTreeIncrementalFilterLeaf updates the dual tree after each leveling. The min-tree and max-tree are temporary construction state. Each build returns an independent owning native hierarchy. Callers provide a non-null, nonempty image with finite values and a connected adjacency matching its domain.
| T | Image and node altitude type. |
Definition at line 40 of file ExtremumResidualTreeByCTsBuilder.hpp.
|
inlineexplicit |
Configures component-tree construction with a shared adjacency and row-major spatial ties.
| adjacency | Connected spatial adjacency matching the input image domain. |
Definition at line 46 of file ExtremumResidualTreeByCTsBuilder.hpp.
|
inlinenoexcept |
Exposes the shared component-tree adjacency.
Definition at line 103 of file ExtremumResidualTreeByCTsBuilder.hpp.
|
inline |
Builds temporary min/max trees and records the extremum residual hierarchy.
| image | Non-null, nonempty image with finite values and the same domain as the connected adjacency. |
Definition at line 53 of file ExtremumResidualTreeByCTsBuilder.hpp.
Definition at line 103 of file ExtremumResidualTreeByCTsBuilder.hpp.