stitching
stitching copied to clipboard
Cropper.prepare raises an exception when one rectangle does not overlap the ROI
Depending on the input, some images might not overlap the largest internal rectangle (see example).
Cropper.prepare raises an exception, but it would be more desirable to just ignore non-overlapping rectangles, or return their indices so that they can be removed as when subsetting to the largest component of the graph.