[Olena-patches] 4725: Introduce labeled_image_base.