|
MorphologicalAttributeFilters
Public API documentation
|
Explicit proper-part completion of a morphological component tree. More...
#include <HierarchySaliencyMap.hpp>
Static Public Member Functions | |
| static void | validate (const MorphologicalTree &tree, const RegularGridAdjacency2D &adjacency) |
| Validates the connected complete-partition interpretation. | |
| static std::vector< int > | computePartitionAppearanceLevels (const MorphologicalTree &tree) |
| Returns the structural partition-appearance levels of the completion. | |
| template<class Value > | |
| static EdgeSaliencyMap< Value > | computeSaliencyEdgeMap (const MorphologicalTree &tree, const RegularGridAdjacency2D &adjacency, std::span< const Value > partitionAppearanceLevels, HierarchyValuationPolicy policy=HierarchyValuationPolicy::AllowLevelCollapse) |
Projects explicit partition-appearance levels with level(LCA)-1. | |
Explicit proper-part completion of a morphological component tree.
A component tree is a hierarchy of partial partitions, whereas Cousty's saliency correspondence uses complete connected partitions of the graph domain. This adapter states the completion used by this library:
The adapter is a semantic facade over HierarchySaliencyMap; it does not copy or rewrite the component-tree topology.
Definition at line 619 of file HierarchySaliencyMap.hpp.
|
inlinestatic |
Returns the structural partition-appearance levels of the completion.
| tree | Component-tree topology whose completion is ranked. |
Definition at line 639 of file HierarchySaliencyMap.hpp.
|
inlinestatic |
Projects explicit partition-appearance levels with level(LCA)-1.
| Value | Partition-level scalar type. |
| tree | Component-tree topology to complete and project. |
| adjacency | Projection graph on the pixel domain. |
| partitionAppearanceLevels | Dense positive level per internal node id. |
| policy | Whether equal parent/child appearance levels are accepted. |
adjacency. | std::invalid_argument | If the hierarchy, graph, valuation, or support connectivity contract is invalid. |
Definition at line 656 of file HierarchySaliencyMap.hpp.
|
inlinestatic |
Validates the connected complete-partition interpretation.
| tree | Component-tree topology to validate. |
| adjacency | Projection graph on the tree pixel domain. |
| std::invalid_argument | If the graph domain is incompatible or a hierarchy support is disconnected. |
Definition at line 629 of file HierarchySaliencyMap.hpp.