Python notebooksΒΆ
The following python notebooks contain examples demonstrating Higra usage. Data can be points, images, or meshes, or anything that can be transformed into a graph.
Component treesΒΆ
These examples deal with upper and lower treshold set of vertex-weighted graphs.
Connected image filtering with component trees |
|||
Filtering with non-increasing criterion - The shaping framework |
|||
Pattern spectra - granulometry based on connected filters |
Hierarchical segmentationΒΆ
These examples deal with images, weights are on edges of the associated graph.
Visualizing hierarchical image segmentation |
|||
Watershed hierarchies |
|||
Hierarchy filtering |
|||
Computing a saliency map with the shaping framework |
|||
Multiscale Hierarchy Alignment and Combination |
Triangular meshesΒΆ
We provide two examples.
The first one uses trimesh, a simple, pure-python. It can be slow, and not-memory efficient.
The second one uses igl, an efficient C++ geometry processing library, with python bindings.
Hierarchical mesh segmentation β trimesh |
|||
Hierarchical mesh segmentation β igl |
Useful toolsΒΆ
Region Adjacency Graph |
|||
Interactive object segmentation |
|||
Contour Simplification |
Illustrative applications from scientific papersΒΆ
Points and Images - Illustrations of SoftwareX 2019 article |
|||
Non-relevant node removal, on both point and images. PRL 2019 |
|||
Fuzzy-marker-based interactive object segmentation - DGMM 2021 |
|||
Astronomical object detection with the Max-Tree - MMTA 2016 |