[Olena-patches] 1755: Sample code for IRM segmentation.