nlamprian / icp Goto Github PK
View Code? Open in Web Editor NEWImplementation of the photogeometric ICP algorithm in OpenCL
License: MIT License
Implementation of the photogeometric ICP algorithm in OpenCL
License: MIT License
The code was applying std::abs to the difference of two unsigned integers, which results in an unsigned integer, which means there is no reason to take the absolute value. So I think you want to take the difference of two signed integers according to:
for (uint i = 0; i < rows; ++i)
ASSERT_LT (std::abs ((int)refMax[i] - (int)results[i]), eps);
that made the compiler error go away.
Loading 1st point cloud from ../data/kg_pc8d_1.bin
Loading 2nd point cloud from ../data/kg_pc8d_2.bin
Error when accessing kernel file: basic_ios::clear (/home/ac2-vision/ICP/build/external/CLUtils/src/CLUtils/src/CLUtils.cpp:224)
I kept getting a compile error that Eigen/Dense header was not found. It was being included inside testsICP.hpp with #include <eigen3/Eigen/Dense>. I replaced the link with #include <Eigen/Dense> and then included the eigen include directories in the CMakeLists.txt for the test source according to:
if ( BUILD_TESTS )
find_package ( Threads REQUIRED )
include_directories ( ${CLUtils_INCLUDE_DIR}
${GTEST_INCLUDE_DIRS}
${RBC_INCLUDE_DIR}
${OPENGL_INCLUDE_DIRS}
${EIGEN_INCLUDE_DIR} )
Finally got everything to compile, but when I run the tests, I receive the following output:
DrHalftone:ICP-build dllau$ ./bin/icp_tests_icp --profiling
[==========] Running 11 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 11 tests from ICP
[ RUN ] ICP.getLMs
clEnqueueNDRangeKernel (CL_INVALID_PROGRAM_EXECUTABLE)
I'm running on a Mac Book Pro running 10.11.1. Any help would be greatly appreciated.
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.