Segmentation images output only if specified