我有一组这样的图像,我想将它们合并成一个像上一张图片一样的图像。在 python 中最好的方法是什么? 我已经尝试从 OpenCV 进行拼接,但每次都会在图像的一侧出现问题。
stitcher = cv2.Stitcher_create(1)
stitcher.setPanoConfidenceThresh(0.3)
stitcher.setWaveCorrection(False)
stitcher.setCompositingResol(0.08)
stitcher.setInterpolationFlags(3)
status, result = stitcher.stitch([image1, image2, image3, image4])