|
MorphologicalAttributeFilters
Public API documentation
|
Builds trees of shapes (ToS) using a union-find construction. More...
#include <TreeOfShapesProducer.hpp>
Public Member Functions | |
| TreeOfShapesProducer (TopographicConvention convention={}) | |
| Creates a tree-of-shapes builder. | |
| const TopographicConvention & | convention () const noexcept |
| Returns the immutable topographic convention selected for this producer. | |
| ~TreeOfShapesProducer ()=default | |
Destroys TreeOfShapesProducer. | |
| TreeOfShapesBuildResult | build (const ImageUInt8Ptr &imgPtr) const |
| Builds the hierarchy with exact doubled source-level altitudes. | |
Builds trees of shapes (ToS) using a union-find construction.
The builder interpolates the input image according to the retained TopographicConvention, constructs a max-tree on the interpolated domain, and projects the resulting hierarchy back to the original image domain.
Definition at line 471 of file TreeOfShapesProducer.hpp.
|
inlineexplicit |
Creates a tree-of-shapes builder.
| convention | Complete topographic convention. |
Definition at line 752 of file TreeOfShapesProducer.hpp.
|
inline |
Builds the hierarchy with exact doubled source-level altitudes.
Even values represent source gray levels and odd values represent the half levels introduced by self-dual interpolation. No parent-child altitude distinction is lost to quantization.
| imgPtr | Image. |
Definition at line 1476 of file TreeOfShapesProducer.hpp.
|
inlinenoexcept |
Returns the immutable topographic convention selected for this producer.
Definition at line 760 of file TreeOfShapesProducer.hpp.