日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

MVS-Texturing Exercise

發布時間:2023/12/20 编程问答 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 MVS-Texturing Exercise 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

mvs-texturing

參考鏈接:https://github.com/nmoehrle/mvs-texturing

準備工作

要求

檢測

下載其余的安裝包

  • libpng
    檢查/usr/local/lib里無libpng。
    sudo apt-get install libpng-dev

    參考:https://www.cnblogs.com/sp-li/p/8306745.html
  • 編譯

    Compilation Build Status

    git clone https://github.com/nmoehrle/mvs-texturing.git cd mvs-texturing mkdir build && cd build && cmake .. make (or make -j for parallel compilation)

    If something goes wrong during compilation you should check the output of the cmake step. CMake checks all dependencies and reports if anything is missing.
    If you think that there is some problem with the build process on our side please tell us.
    If you are trying to compile this under windows (which should be possible but we haven’t checked it) and you feel like we should make minor fixes to support this better, you can also tell us.

    出錯:
    嘗試解決:

    下載eigen,發現已下載過。查看相關教程發現需復制Eigen文件夾至/usr/local/include,即可。 現嘗試重新編譯中…

    //可能不對,是編譯過程中下載eigen3.3.2tar.gz,但是網絡情況不佳,導致通信協議中斷。
    會成功的!

    問題

    問題:qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’
    參考:https://blog.csdn.net/x356982611/article/details/71169940

    下載qt:
    https://blog.csdn.net/wuweifeng_2017/article/details/78322249—無用
    下載安裝包后,使用“./qt……”會出現找不到該命令!!!!(fail!)
    借鑒:http://www.pianshen.com/article/6147187926/

    出現設備鎖以后,即 ubuntu提示E: 無法獲得鎖 /var/lib/dpkg/lock-frontend - open (11: 資源暫時不可用)
    檢查用:
    ps -e | grep apt
    解除用:
    sudo rm /var/lib/dpkg/lock-frontend

    備份:
    default.conf里為:
    /usr/lib/x86_64-linux-gnu/qt4/bin
    /usr/lib/x86_64-linux-gnu
    參考:https://blog.csdn.net/anyuliuxing/article/details/90369822

    將第一行改為自己安裝路徑下的bin目錄的路徑,第二行改為Qt5.12.3目錄的路徑
    問題:/usr/bin/ld: 找不到 -lGL
    解決:https://blog.csdn.net/u010159842/article/details/56833030

    測試

    imdir=<directory where you have your images>codedir=<directory where you want to do the compilation> cd $codedir# Download and compile MVE cd $codedir git clone https://github.com/simonfuhrmann/mve.git make -j8 -C mve# Compile UMVE cd mve/apps/umve && qmake && make# Download and compile texrecon cd $codedir git clone https://github.com/nmoehrle/mvs-texturing.git texrecon cd texrecon && mkdir build && cd buildcmake ..make -j8# Image import & bundling (images --> camera parameters) cd $imdir $codedir/mve/apps/makescene/makescene -i . scene $codedir/mve/apps/sfmrecon/sfmrecon scene# Multi-view stereo reconstruction (images + camera parameters --> depth maps) $codedir/mve/apps/dmrecon/dmrecon -s3 scene # -s3 downscales the images three times

    # Surface reconstruction (depth maps + camera parameters --> 3D model) $codedir/mve/apps/scene2pset/scene2pset -F3 scene point-set.ply $codedir/mve/apps/fssrecon/fssrecon point-set.ply surface.ply $codedir/mve/apps/meshclean/meshclean -t10 -c10000 surface.ply surface-clean.ply# Texturing (3D model + images + camera parameters --> textured 3D model) $codedir/texrecon/build/apps/texrecon/texrecon scene::undistorted surface-clean.ply textured# Inspect results $codedir/mve/apps/umve textured.obj

    執行到倒數第二步都沒有問題,最后一步apps/umve是一個目錄,所以應該是apps/umve/umve textured.obj
    但是執行結果失敗:
    現在嘗試安裝openGL
    參考:https://blog.csdn.net/huangkangying/article/details/82022177
    安裝有bug,需要更新apt,但是總有一點點下載不下來,所以更換源,參照https://blog.csdn.net/qq_41930236/article/details/93247412,為中科大的鏡像源:

    deb http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse

    總結

    以上是生活随笔為你收集整理的MVS-Texturing Exercise的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。