oneeyedeagle / eagle-texturemapping Goto Github PK
View Code? Open in Web Editor NEWPatch-Based Optimization for Image-Based Texture Mapping
License: MIT License
Patch-Based Optimization for Image-Based Texture Mapping
License: MIT License
@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) :
By remapping others to View i with weights (many small black holes are visible):
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 :
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.
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!
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);
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.
Thank you very much.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.