Extract Composites stalls at "1/300" and never advances when the segmentation folder contains RhizoVision Explorer segmentations rather than RootPainter Default ones.
gen_composite in im_utils.py assumes a 4-channel RGBA segmentation and reads annot.shape[2]. A RhizoVision Explorer segmentation is a single-channel (H, W) image, so this raises IndexError: tuple index out of range on the first file. The worker thread in extract_comp.py has no exception handling and emits progress before processing each file, so the crash leaves the progress dialog frozen at 1/300.
Extract Composites should accept both segmentation formats.
Extract Composites stalls at "1/300" and never advances when the segmentation folder contains RhizoVision Explorer segmentations rather than RootPainter Default ones.
gen_compositeinim_utils.pyassumes a 4-channel RGBA segmentation and readsannot.shape[2]. A RhizoVision Explorer segmentation is a single-channel(H, W)image, so this raisesIndexError: tuple index out of rangeon the first file. The worker thread inextract_comp.pyhas no exception handling and emits progress before processing each file, so the crash leaves the progress dialog frozen at 1/300.Extract Composites should accept both segmentation formats.