GithubHelp home page GithubHelp logo

colin97 / point2mesh Goto Github PK

View Code? Open in Web Editor NEW
87.0 6.0 10.0 1.86 MB

Meshing Point Clouds with Predicted Intrinsic-Extrinsic Ratio Guidance (ECCV2020)

License: MIT License

Python 31.45% CMake 0.59% C++ 58.11% C 0.16% Cuda 9.69%
point-cloud geodesic-distances 3d-deep-learning remeshing mesh-generation mesh-processing neural-network 3d-reconstruction 3d mesh

point2mesh's People

Contributors

colin97 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

point2mesh's Issues

CMake error

I got the following error while post processing

-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
CMake Error: Generator: execution of make failed. Make command was: /usr/bin/gmake -f Makefile cmTC_0387e/fast &&
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/cc
CMake Error: Generator: execution of make failed. Make command was: /usr/bin/gmake -f Makefile cmTC_f293e/fast &&
-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /opt/conda/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler

"/usr/bin/cc"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /workspace/SDP/postprocess/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_f293e/fast && No such file or directory
Generator: execution of make failed. Make command was: /usr/bin/gmake -f Makefile cmTC_f293e/fast && 

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt

-- Configuring incomplete, errors occurred!
See also "/workspace/SDP/postprocess/build/CMakeFiles/CMakeOutput.log".
See also "/workspace/SDP/postprocess/build/CMakeFiles/CMakeError.log".

More details on geodesic distance computation

Hi there,

Thank you for releasing the codes. I recently found that the geodesic distance is only computed between points in the same face or in the faces which share the same vertex. I noticed that in the paper, it says you compute geodesic in a small neighborhood, I wonder if there are more details about how this satisfy the following label computation process. And for geodesic distance between points on different faces, the distance is computed as
double d = (pc[u] - vertices[i]).length() + (pc[v] - vertices[i]).length();
this seems not correct to me. Do you mind providing more details about this part? Thanks a lot!

Error while building postprocess.cpp

Hello,

Thank you for the code and congratulations for the acceptance. I am trying to run your demo code. However, I have issues when building postprocess.cpp. Here is the log infos:

/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:18:48: error: wrong number of template arguments (4, should be 5)
 AnnoyIndex<int, double, Euclidean, Kiss32Random> pc_knn = AnnoyIndex<int, double, Euclidean, Kiss32Random>(3);
                                                ^
In file included from /home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:3:0:
/home/alban/Documents/Point2Mesh/postprocess/../annoy/src/annoylib.h:841:9: note: provided for ‘template<class S, class T, class Distance, class Random, class ThreadedBuildPolicy> class AnnoyIndex’
   class AnnoyIndex : public AnnoyIndexInterface<S, T> {
         ^~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:18:106: error: wrong number of template arguments (4, should be 5)
 AnnoyIndex<int, double, Euclidean, Kiss32Random> pc_knn = AnnoyIndex<int, double, Euclidean, Kiss32Random>(3);
                                                                                                          ^
In file included from /home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:3:0:
/home/alban/Documents/Point2Mesh/postprocess/../annoy/src/annoylib.h:841:9: note: provided for ‘template<class S, class T, class Distance, class Random, class ThreadedBuildPolicy> class AnnoyIndex’
   class AnnoyIndex : public AnnoyIndexInterface<S, T> {
         ^~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp: In function ‘int main(int, char**)’:
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:205:12: error: request for member ‘add_item’ in ‘pc_knn’, which is of non-class type ‘int’
     pc_knn.add_item(i, vec);
            ^~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:207:10: error: request for member ‘build’ in ‘pc_knn’, which is of non-class type ‘int’
   pc_knn.build(10);
          ^~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:211:12: error: request for member ‘get_nns_by_item’ in ‘pc_knn’, which is of non-class type ‘int’
     pc_knn.get_nns_by_item(i, K + 1, -1, &knn_id[i], &knn_dis[i]);
            ^~~~~~~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:199:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   freopen(input_file.c_str(), "r", stdin);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:200:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &n_pc);
   ~~~~~^~~~~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:203:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%lf%lf%lf", &vec[0], &vec[1], &vec[2]);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:227:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &n_candidates);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:230:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
       scanf("%d %d %d %d", &a, &b, &c, &label);
       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:278:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   freopen(output_file.c_str(), "w", stdout);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CMakeFiles/postprocess.dir/build.make:62: recipe for target 'CMakeFiles/postprocess.dir/postprocess.cpp.o' failed
make[2]: *** [CMakeFiles/postprocess.dir/postprocess.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/postprocess.dir/all' failed
make[1]: *** [CMakeFiles/postprocess.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Any idea what might be causing this?
Thanks!

Evaluate the model

hi could you provide the evaluation code that you used in the paper ?

Questions about coordinates of points

Thank you for your outstanding work in the field of surface reconstruction ,But I want to know why this network changes the coordinates of the points.

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.