Watersheds of functions and picture segmentation | Synapse