Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/opencv/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
是否可以在OpenCV stitcher python中选择混合类型_Python_Opencv_Alphablending_Image Stitching_Opencv Stitching - Fatal编程技术网

是否可以在OpenCV stitcher python中选择混合类型

是否可以在OpenCV stitcher python中选择混合类型,python,opencv,alphablending,image-stitching,opencv-stitching,Python,Opencv,Alphablending,Image Stitching,Opencv Stitching,我使用opencv==3.4.2在python中缝合图像 import cv2 stitcher = cv2.createStitcher() (status, stitched_panorama) = stitcher.stitch(image_array) 在opencv源代码的文件中,我看到了混合类型Feather和Multi-Band的实现。但没有从方法中选择此选项。缝合图像时是否可以选择混合类型?如果是,如何进行?如果没有,你能告诉我默认使用哪种方法吗?我没有OpenCV 3.4.2

我使用
opencv==3.4.2
在python中缝合图像

import cv2
stitcher = cv2.createStitcher()
(status, stitched_panorama) = stitcher.stitch(image_array)

在opencv源代码的文件中,我看到了混合类型
Feather
Multi-Band
的实现。但没有从方法中选择此选项。缝合图像时是否可以选择混合类型?如果是,如何进行?如果没有,你能告诉我默认使用哪种方法吗?

我没有OpenCV 3.4.2环境,所以评论一下最新版本:有一些方法,可能会达到你想要的效果,但目前似乎没有Python绑定。(PyCharm函数清单中的
cv2.Stitcher
没有显示该方向的任何方法。)因此,我想,OpenCV 3.4.2中也没有针对该功能性的Python绑定。请参见第页的Stitcher_create([,mode])。但我认为它只在OpenCV中可用4@fmw42这里有些不同。对不起,那只是猜测。谢谢HansHirse。