Add remove_masked_segments
Check data shape in SegmentProperties.make_cutout