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

πŸ‘

πŸ’Ύ

co3

Filtering with non-increasing criterion - The shaping framework

πŸ‘

πŸ’Ύ

co9

Pattern spectra - granulometry based on connected filters

πŸ‘

πŸ’Ύ

co15

Hierarchical segmentationΒΆ

These examples deal with images, weights are on edges of the associated graph.

Visualizing hierarchical image segmentation

πŸ‘

πŸ’Ύ

co13

Watershed hierarchies

πŸ‘

πŸ’Ύ

co2

Hierarchy filtering

πŸ‘

πŸ’Ύ

co1

Computing a saliency map with the shaping framework

πŸ‘

πŸ’Ύ

co8

Multiscale Hierarchy Alignment and Combination

πŸ‘

πŸ’Ύ

co4

Triangular meshesΒΆ

We provide two examples.

  1. The first one uses trimesh, a simple, pure-python. It can be slow, and not-memory efficient.

  2. The second one uses igl, an efficient C++ geometry processing library, with python bindings.

Hierarchical mesh segmentation – trimesh

πŸ‘

πŸ’Ύ

co16

Hierarchical mesh segmentation – igl

πŸ‘

πŸ’Ύ

co17

Useful toolsΒΆ

Region Adjacency Graph

πŸ‘

πŸ’Ύ

co5

Interactive object segmentation

πŸ‘

πŸ’Ύ

co6

Contour Simplification

πŸ‘

πŸ’Ύ

co7

Illustrative applications from scientific papersΒΆ

Points and Images - Illustrations of SoftwareX 2019 article

πŸ‘

πŸ’Ύ

co10

Non-relevant node removal, on both point and images. PRL 2019

πŸ‘

πŸ’Ύ

co11

Fuzzy-marker-based interactive object segmentation - DGMM 2021

πŸ‘

πŸ’Ύ

co14

Astronomical object detection with the Max-Tree - MMTA 2016

πŸ‘

πŸ’Ύ

co12