|
MorphologicalAttributeFilters
Public API documentation
|
Incremental side-level contour extraction and boundary-loop tracing. More...
#include <ContourTraceComputation.hpp>
Classes | |
| struct | IncrementalContourTraces |
| Lazy result for side-level contour traces. More... | |
Static Public Member Functions | |
| static int | packEdge (PixelId pixel, ContourTraceSide side) |
| Packs one pixel-side edge into a compact integer id. | |
| static ContourTraceEdge | unpackEdge (int packedEdge) |
| Unpacks one compact edge id. | |
| static IncrementalContourTraces | extract (const MorphologicalTree &tree) |
| Runs incremental side-level contour extraction and returns lazy traces. | |
| template<AltitudeValue T> | |
| static IncrementalContourTraces | extract (const ValuedMorphologicalTreeView< T > &tree) |
| Runs incremental side-level contour extraction on a valued-tree view. | |
Incremental side-level contour extraction and boundary-loop tracing.
Boundary primitives are oriented grid edges. Edges are materialized lazily per node, then traced into ordered loops on demand. The orientation convention keeps the support pixel on the right side of each directed edge in image coordinates, where rows grow downward and columns grow rightward. With this convention, external loops have positive doubled signed area and internal loops have negative doubled signed area.
Definition at line 75 of file ContourTraceComputation.hpp.
|
inlinestatic |
Runs incremental side-level contour extraction and returns lazy traces.
| tree | Tree topology. |
Definition at line 1634 of file ContourTraceComputation.hpp.
|
inlinestatic |
Runs incremental side-level contour extraction on a valued-tree view.
| tree | Tree topology. |
Definition at line 1646 of file ContourTraceComputation.hpp.
|
inlinestatic |
Packs one pixel-side edge into a compact integer id.
| pixel | Pixel identifier. |
| side | Side selected by the operation. |
Definition at line 88 of file ContourTraceComputation.hpp.
|
inlinestatic |
Unpacks one compact edge id.
| packedEdge | Packed boundary-edge identifier. |
Definition at line 96 of file ContourTraceComputation.hpp.