HiPy is not maintained anymore: checkout the new library https://github.com/PerretB/Higra with improved performances HiPy Hierarchical image representation in Python To cut a long story short : the Demo directory should be your entry point ! @todo