1.colmap提取特征點(diǎn)
# 命令行執(zhí)行
colmap feature_extractor --database_path database.db --image_path images/ --ImageReader.camera_model OPENCV
2.提取標(biāo)定板的角點(diǎn),生成匹配點(diǎn)對(duì)(生成matches.txt)
# 編譯腳本文件charuco,生成run_charuco
cmake
make -j16
# 運(yùn)行build中生成的可執(zhí)行文件
./run_charuco
3.colmap執(zhí)行特征匹配
colmap matches_importer --database_path database1.db --match_list_path matches.txt --match_type 'inliers'
# 生成matches.txt匹配圖像對(duì)列表
4.colmap在進(jìn)行特征提取和匹配后,使用 SfM 對(duì)數(shù)據(jù)集進(jìn)行稀疏三維重建/映射。
colmap mapper --database_path database1.db --image_path images/ --output_path ./
# 會(huì)當(dāng)前路徑下生成名為0的文件夾,里面有重建后的文件相機(jī),圖像和3D點(diǎn)信息(.bin文件)
5.colmap模型轉(zhuǎn)換,把colmap格式數(shù)據(jù)轉(zhuǎn)換為其他格式
colmap model_converter --input_path ./0/ --output_path ./0/ --output_type TXT
# 會(huì)把.bin模型文件轉(zhuǎn)換成指定的.txt文件
文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-715718.html
文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-715718.html
到了這里,關(guān)于全景3D視頻合成——多視角相機(jī)同步數(shù)據(jù)采集后利用colmap標(biāo)定,用標(biāo)定板的角點(diǎn)方式提取內(nèi)外參數(shù)的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!