Git Product home page Git Product logo

imagebasedmodellingeduv1.0's Introduction

ImageBasedModellingEduV1.0

是专门用于深蓝学院基于图像的三维模型重建课程的代码

imagebasedmodellingeduv1.0's People

Contributors

suiwei avatar swayfreeda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

imagebasedmodellingeduv1.0's Issues

math中进行cmake和make都报错

cmake报错如下:
-- Configuring done
CMake Error: Cannot determine link language for target "math".
CMake Error: CMake can not determine linker language for target: math
-- Generating done
make报错如下:
make[2]: *** No rule to make target 'CMakeFiles/math.dir/build'。 停止。
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/math.dir/all' failed
make[1]: *** [CMakeFiles/math.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

编译错误:xxx未定义的引用

这是添加了#include<assert.h>并且注释了代码中含有isnan的语句,然后编译的时候报错如下:

[ 98%] Linking CXX executable task7_texturing
../../texturing/libtexturing.a(texture_atlas.cpp.o):在函数‘TextureAtlas::TextureAtlas(unsigned int)’中:
texture_atlas.cpp:(.text+0x27a): 警告: the use of tmpnam' is dangerous, better use mkstemp'
../../texturing/libtexturing.a(generate_texture_views.cpp.o):在函数‘tex::from_nvm_scene(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::vector<TextureView, std::allocator >)’中:
generate_texture_views.cpp:(.text+0x18fc):对‘core::load_nvm_bundle(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::vector<core::NVMCameraInfo, std::allocatorcore::NVMCameraInfo >
)’未定义的引用
../../texturing/libtexturing.a(generate_texture_views.cpp.o):在函数‘core::Scene::create(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’中:
generate_texture_views.cpp:(.text._ZN4core5Scene6createERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN4core5Scene6createERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x6e):对‘core::Scene::load_scene(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’未定义的引用
collect2: error: ld returned 1 exit status
examples/task7/CMakeFiles/task7_texturing.dir/build.make:132: recipe for target 'examples/task7/task7_texturing' failed
make[2]: *** [examples/task7/task7_texturing] Error 1
CMakeFiles/Makefile2:1247: recipe for target 'examples/task7/CMakeFiles/task7_texturing.dir/all' failed
make[1]: *** [examples/task7/CMakeFiles/task7_texturing.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

三维重建的尺度问题

尊敬的老师您好:
我最近遇到了一个问题,问题是:我在做一个模型的评估的时候,通过评估方提供的数据集我重建后与评估方提供的标准模型对比时,发现两个模型的尺度不同,(相机姿态也不同,这个倒是可以align解决,但是两个模型的尺度不同,我一直没有搞清楚这个什么原因所引起的,是内外参吗?评估时 需要将两个模型放在同一个坐标系下,那么这个尺度问题,我如何将我自己生成的模型的尺度和评估方所提供的模型尺度一致呢)
非常感谢您在百忙中能够回复一下我的疑惑,感谢感谢!!
LZ

task7中cmakelists编译问题

task7文件夹内的原有cmakelists中target_link_libraries(task7_texturing mvs util core texturing coldet mrf gco)改为target_link_libraries(task7_texturing mvs util texturing core coldet mrf gco)可编译通过,即替换了core texturing的顺序,原理未知。

贴图内存消耗太大

贴图内存消耗很大,这样会极大地限制Mesh大小,关于减少内存消耗,有没有什么思路呢?

task5里面,报错error: ‘arg’ was not declared in this scope

task5/class5_scene2pset_multi_views.cc:172:32: error: ‘arg’ was not declared in this scope
assert(util::string::right(arg.outmesh, 4) == ".ply");
^
examples/task5/CMakeFiles/class5_scene2pset_multi_views.dir/build.make:62: recipe for target 'examples/task5/CMakeFiles/class5_scene2pset_multi_views.dir/class5_scene2pset_multi_views.cc.o' failed
这个怎么解决呀?我看到arg好像没有定义,不知道怎么修改,请求帮助,谢谢大家.

编译到task7卡住了,不知道怎么修复

[ 98%] Linking CXX executable task7_texturing
/usr/bin/ld: ../../texturing/libtexturing.a(texture_atlas.cpp.o): in function TextureAtlas::TextureAtlas(unsigned int)': texture_atlas.cpp:(.text+0x186): warning: the use of tmpnam' is dangerous, better use mkstemp' /usr/bin/ld: ../../texturing/libtexturing.a(generate_texture_views.cpp.o): in function tex::from_nvm_scene(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::vector<TextureView, std::allocator >*)':
generate_texture_views.cpp:(.text+0x1891): undefined reference to core::load_nvm_bundle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<core::NVMCameraInfo, std::allocator<core::NVMCameraInfo> >*)' /usr/bin/ld: ../../texturing/libtexturing.a(generate_texture_views.cpp.o): in function core::Scene::create(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)':
generate_texture_views.cpp:(.text._ZN4core5Scene6createERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN4core5Scene6createERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x72): undefined reference to `core::Scene::load_scene(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/task7/CMakeFiles/task7_texturing.dir/build.make:111: examples/task7/task7_texturing] Error 1
make[1]: *** [CMakeFiles/Makefile2:1146: examples/task7/CMakeFiles/task7_texturing.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

link error !

/home/leiw/clion-2019.3.2/bin/cmake/linux/bin/cmake --build /home/leiw/ImageBasedModellingEduV1.0/examples/task2/cmake-build-debug --target task2_test_camera_model -- -j 2
[ 50%] Linking CXX executable task2_test_camera_model
/usr/bin/ld: 找不到 -lcore
/usr/bin/ld: 找不到 -lfeatures
collect2: error: ld returned 1 exit status
CMakeFiles/task2_test_camera_model.dir/build.make:83: recipe for target 'task2_test_camera_model' failed
make[3]: *** [task2_test_camera_model] Error 1
CMakeFiles/Makefile2:83: recipe for target 'CMakeFiles/task2_test_camera_model.dir/all' failed
make[2]: *** [CMakeFiles/task2_test_camera_model.dir/all] Error 2
CMakeFiles/Makefile2:90: recipe for target 'CMakeFiles/task2_test_camera_model.dir/rule' failed
make[1]: *** [CMakeFiles/task2_test_camera_model.dir/rule] Error 2
Makefile:118: recipe for target 'task2_test_camera_model' failed
make: *** [task2_test_camera_model] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.