GithubHelp home page GithubHelp logo

oneeyedeagle / eagle-texturemapping Goto Github PK

View Code? Open in Web Editor NEW
98.0 98.0 25.0 76.96 MB

Patch-Based Optimization for Image-Based Texture Mapping

License: MIT License

Makefile 25.56% QMake 0.59% C++ 73.39% C 0.45%

eagle-texturemapping's Issues

More Discussion

@RatTac
I think it's necessary to make a new issue to test if you can get the notification...

I am quite curious about your results with the method that generating a depth map for every image. Could you push some images here?

I think I am still wrong with the remapping step. As the mesh are tiny on a image's resolution, many holes exist for the round(pixel.x) and round(pixel.y).

Here are results with only 3 input images, index of 0,4,6.

By merging all images to View i with weights (blurry results) :
00000
00004
00006

By remapping others to View i with weights (many small black holes are visible):
00000
00004
00006

After iteration of my code with alpha=1, lamda=2 (too much wraps are generated), the new Textures, and they are what the texture is on the model :
M_000
M_004
M_006

Problems encountered during environment configuration

When I imported the project into Qt creator, when configuring the Kit, I should choose which version of MinGW. He kept giving me the error that the Kit was not configured, but I couldn't choose the Kit on the left either.

Run the project without depth image

Dear author,

I want to run the project without depth image , just with obj file and images and camera pose. With these information, can I reconstruct the texture ?

Thanks so much!

Issue compiling the project

g++ -c -pipe -std=gnu++14 -fopenmp -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Irayint -Ilib -isystem /usr/include/eigen3 -isystem /usr/local/include/opencv -isystem /usr/include/ni -I/usr/local/cuda/include -isystem /usr/local/include/vtk-7.1 -isystem /usr/local/include/pcl-1.12 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o lib/getalignresults.o getalignresults.cpp
getalignresults.cpp: In member function ‘void getAlignResults::generateTexturedOBJ(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string)’:
getalignresults.cpp:1214:67: error: no matching function for call to ‘getAlignResults::checkMeshMapImg(size_t&, size_t&, std::vector<cv::Point_<int> >&, float&)’
             if (checkMeshMapImg(mesh_i, img_i, v_uv_tmp, img_score) == true) {
                                                                   ^
In file included from getalignresults.cpp:1:0:
getalignresults.h:123:10: note: candidate: bool getAlignResults::checkMeshMapImg(size_t, size_t, std::vector<cv::Point_<int> >&)
     bool checkMeshMapImg(size_t mesh_i, size_t img_i, std::vector<cv::Point2i> &v_uv);
          ^~~~~~~~~~~~~~~
getalignresults.h:123:10: note:   candidate expects 3 arguments, 4 provided
getalignresults.cpp:1254:5: error: ‘writeCameraTraj’ was not declared in this scope
     writeCameraTraj(resultImgNamePattern);
     ^~~~~~~~~~~~~~~
getalignresults.cpp:1254:5: note: suggested alternative: ‘readCameraTraj’
     writeCameraTraj(resultImgNamePattern);
     ^~~~~~~~~~~~~~~
     readCameraTraj
getalignresults.cpp: At global scope:
getalignresults.cpp:1257:6: error: prototype for ‘bool getAlignResults::checkMeshMapImg(size_t, size_t, std::vector<cv::Point_<int> >&, float&)’ does not match any in class ‘getAlignResults’
 bool getAlignResults::checkMeshMapImg(size_t mesh_i, size_t img_i, std::vector<cv::Point2i> &v_uv, float &score)
      ^~~~~~~~~~~~~~~
In file included from getalignresults.cpp:1:0:
getalignresults.h:123:10: error: candidate is: bool getAlignResults::checkMeshMapImg(size_t, size_t, std::vector<cv::Point_<int> >&)
     bool checkMeshMapImg(size_t mesh_i, size_t img_i, std::vector<cv::Point2i> &v_uv);

Try this program on stereo-matching based depths

Hi,
Thanks for your excellent recurrence. I wanna try this program on stereo-matching based depths. But I don't know the following parameters means. Following in first line red marked, does it mean this is a relative pose between camera 0 and camera 1? Are next 2-5 lines quaternion matrix or some other format parameters. And furthermore, do you have any suggestions that what I should care if I use this program on stereo-matching based depths, maybe it's not easy to get a enough good result on stereo-matching based depths and I should do some filtering on depth maps? I'm new in this field, please don't mind for any bad requests and questions.
image
Thank you very much.

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.