ceres-solver

building opencv with sfm module issues

元气小坏坏 提交于 2021-02-11 13:26:55
问题 I am trying to build opencv with sfm modules I've built and installed gflags then glog and the ceres-solver. Yet the make logs says: Module opencv_sfm disabled because the following dependencies are not found: Glog/Gflags . Even though in earlier lines it says it finds both to these directories. I've also built and installed VTK though for some reason it doesn't find it even when I manually select the build directory. Below is the relevant section of my CMake log: VTK is not found. Please set

building opencv with sfm module issues

天大地大妈咪最大 提交于 2021-02-11 13:26:36
问题 I am trying to build opencv with sfm modules I've built and installed gflags then glog and the ceres-solver. Yet the make logs says: Module opencv_sfm disabled because the following dependencies are not found: Glog/Gflags . Even though in earlier lines it says it finds both to these directories. I've also built and installed VTK though for some reason it doesn't find it even when I manually select the build directory. Below is the relevant section of my CMake log: VTK is not found. Please set

Installing ceres-solver on centOS7 and getting helloworld.cc to work

隐身守侯 提交于 2021-01-28 20:20:34
问题 Problem : I would like to use Google's ceres-solver library for C++ but am not able to run the helloworld.cc example on its webpage. Installation : I am using (a fresh install of) CentOS7 and am following installation instructions on the ceres-solver website. Replacing the apt-get with yum -equivalent packages, I installed the following: For g++ compiler, installed gcc using sudo yum install "Development Tools" cmake with these instructions. A few libraries with sudo yum install glog-devel

Ceres Solver: unable to disable logging (google glog)

不羁岁月 提交于 2021-01-02 06:14:31
问题 I'm using ceres solver for a project, and when I call the ceres::Solve function, the library starts to output lines such as this one: iterative_schur_complement_solver.cc:88 No parameter blocks left in the schur complement. wall_time.cc:74 IterativeSchurComplementSolver::Solve Delta Cumulative Total : 0.00001 0.00001 I tried to disable the logging of these intermediate steps but I had no success so far. I'm calling this line on the constructor of my class: google::InitGoogleLogging("my

Ceres Solver: unable to disable logging (google glog)

戏子无情 提交于 2021-01-02 06:13:39
问题 I'm using ceres solver for a project, and when I call the ceres::Solve function, the library starts to output lines such as this one: iterative_schur_complement_solver.cc:88 No parameter blocks left in the schur complement. wall_time.cc:74 IterativeSchurComplementSolver::Solve Delta Cumulative Total : 0.00001 0.00001 I tried to disable the logging of these intermediate steps but I had no success so far. I'm calling this line on the constructor of my class: google::InitGoogleLogging("my

Compiling error ceres library example program “helloworld”

本小妞迷上赌 提交于 2019-12-12 04:08:28
问题 I tried to run Ceres library program in example using gcc helloworld.cc . I checked that all of the libraries are in /usr/local/lib . I already installed glog and gflag egien according to following instructions. I already tried to give explicit path of libraries. I think I am having linker error but cannt able to figure out how to resolve it. /tmp/ccTx2jwX.o: In function `main': helloworld.cc:(.text+0xc4): undefined reference to `google::InitGoogleLogging(char const*)' helloworld.cc:(.text

Why don't C++ compilers do better constant folding?

筅森魡賤 提交于 2019-12-03 02:08:16
问题 I'm investigating ways to speed up a large section of C++ code, which has automatic derivatives for computing jacobians. This involves doing some amount of work in the actual residuals, but the majority of the work (based on profiled execution time) is in calculating the jacobians. This surprised me, since most of the jacobians are propagated forward from 0s and 1s, so the amount of work should be 2-4x the function, not 10-12x. In order to model what a large amount of the jacobian work is