Watershed segmentation for large-scale images


I am looking to do a watershed segmentation for a large image. I know that OTB has the LSMS algorithm which handles the tiling artefacts well.

Is there a similar version of the large-scale watershed segmentation algorithm, that segments on tiles, but cleans up the edge artefacts in the vector output?

Best wishes,


One of the available algorithm in the Segmentation application is watershed. In vector mode there is the -mode.vector.stitch bool option that try to clean up edge artifacts.


Hi Cédric,

Thanks - I have successfully managed to get the algorithm to run.

Could you kindly provide the reference to the specific watershed algorithm that was implemented in OTB? The documentation in the cookbook is quite light.

Many thanks