GraphOptim
GraphOptim copied to clipboard
关于global_sfm分支application编译中colmap问题
作者你好,我按照你给的global_sfm步骤,已成功完成GraphOptim的编译安装,但是在编译application时遇到colmap版本问题,想请问一下作者使用的是哪个版本的colmap。谢谢。
Hi, the compilation of the global_sfm branch is not thoroughly tested (I only tested it on Ubuntu 20.04), therefore I did not merge it into the main branch. I plan to fix the issue this year (support on more platforms & operating systems). I'd like to help you. Before that, could you show me the compilation output?
问题如下所示:
我对比了不同版本colmap中two_view_geometry.h的代码,发现在3.4及之前为EstimateWithRelativePose,在之后的版本中改为了EstimateRelativePose,如下图所示:
我认为你在application中使用的应该是colmap 3.4之前的版本,我目前也正在尝试更换colmap版本。
okay. Would you mind submitting a PR to fix this issue? For example, we can obtain the version number of COLMAP to use different interfaces.
I'm sorry. I don't know how to do. After I reduced the colmap version to 3.4, a new issue occurred. colmap was only supported as a library after 3.5, but 3.5 uses EstimateRelativePose instead of EstimateWithRelativePose, so when compiling the code in the "application", the colmap library could not be found. I don't know how to solve this problem.
Alright. You may try my branch instead: https://github.com/AIBluefisher/colmap .
Keep this issue opening if the problem is still not solved.
作者您好,我使用了你提供的colmap,能够成功对“application”进行编译,然后按你提供的命令(“./applications/run_global_sfm.sh $DATASET_PATH $OUTPUT_PATH $VOC_TREE_PATH $MOST_SIMILAR_IMAGES_NUM”)运行,运行时出现了以下错误,采用的图片是我自己上传的19张图片,MOST_SIMILAR_IMAGES_NUM设置为5
Could you provide the database or images ?
I have sent it to you via email