1: Implementation and complexity of the watershed-from-markers algorithm computed as a minimal cost forest