|
mmcfilters
Public API documentation
|
Validated public view of connected-subset-tree localization. More...
#include <ConnectedSubsetTreeLocalizer.hpp>
Public Member Functions | |
| ConnectedSubsetTreeLocalizer (const MorphologicalTree &tree) | |
| Captures one established tree without building another index. | |
| NodeId | smallestNode (PixelId pixel) const |
| Returns the smallest node of one valid pixel. | |
| NodeId | join (NodeId lhsSmallestNode, NodeId rhsSmallestNode) const |
| Returns the inclusion join, equivalently the LCA, of two live smallest nodes. | |
| std::optional< NodeId > | anchoredEntry (PixelId anchorPixel, PixelId samplePixel) const |
| Returns the first node on the anchor branch containing an absolute sample. | |
| std::optional< NodeId > | anchoredEntry (PixelId anchorPixel, WindowOffset offset) const |
| Returns the first node containing a translated sample. | |
Validated public view of connected-subset-tree localization.
The hot finite-window kernels use the equivalent functions in detail::kernel after validating once at their public boundary. This view is intended for explicit theorem-facing queries and therefore validates pixels, nodes, the grid domain, and captured-tree stability per call.
Definition at line 69 of file ConnectedSubsetTreeLocalizer.hpp.
|
inlineexplicit |
Captures one established tree without building another index.
| tree | Stable connected-subset tree. |
Definition at line 72 of file ConnectedSubsetTreeLocalizer.hpp.
|
inline |
Returns the first node on the anchor branch containing an absolute sample.
| anchorPixel | Valid anchor pixel. |
| samplePixel | Valid translated-sample pixel. |
Definition at line 109 of file ConnectedSubsetTreeLocalizer.hpp.
|
inline |
Returns the first node containing a translated sample.
| anchorPixel | Valid anchor pixel. |
| offset | Relative row-column sample offset. |
Definition at line 123 of file ConnectedSubsetTreeLocalizer.hpp.
|
inline |
Returns the inclusion join, equivalently the LCA, of two live smallest nodes.
| lhsSmallestNode | First live node. |
| rhsSmallestNode | Second live node. |
Definition at line 95 of file ConnectedSubsetTreeLocalizer.hpp.
|
inline |
Returns the smallest node of one valid pixel.
| pixel | Valid pixel. |
Definition at line 77 of file ConnectedSubsetTreeLocalizer.hpp.