LinearTopologicalWatershed - First approach