Constrained connectivity for hierarchical image partitioning and simplification | Synapse