[Olena-patches] r3496: Add watershed implementation for IRM images