ceres::Covariance::Options cov_options;
ceres::Covariance covariance(cov_options);
double* cameras = bal_problem.mutable_cameras();
const int camera_block_size = 6 ;
const int N=1 ; // bal_problem.num_cameras() ;
std::vector<std::pair<const double*, const double*> > cov_blocks;
for(size_t i = 0 ; i <N ; i++) {
const double* cam_block = cameras + camera_block_size * bal_problem.camera_index()[i] ;
cov_blocks.push_back(std::make_pair(cam_block,cam_block) );
}
CHECK(covariance.Compute(cov_blocks, &problem) ) ;
--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/e5389d2b-07d8-476b-85a8-9ed82e969e17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/ddb72914-84f2-49aa-8ae8-1dff1643f17c%40googlegroups.com.
Thanks Sameer,
I am not sure how I apply patches !
I ended up downloaded the files in the directory and copied them
into my project.
- This didn't work and ended up with a bunch of errors !
Is there any chance of just downloading a project with these
amendments
You received this message because you are subscribed to a topic in the Google Groups "Ceres Solver" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ceres-solver/1SrLa1Pr8D4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/CABqdRUDkFRphxqYvUWqb8XPRXD1k2Ou%3DmqyLRzP6efszpSiy0g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/b9c843f9-ca4f-14ac-2293-6c8ecc08dfbe%40gmail.com.
Thanks Sameer,
Do you have a rough time frame for this ?
I am very interested in generating the covariance matrices and the gauge ambiguity problem has me stumped.
Regards,
Alan
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/CABqdRUD%2BMvEpqjVuHvhO2ifB%2BNR4JDPwaL1j3izyy4uJ5Kd%2BcQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/12f16e49-3833-b918-36b9-3d7dd0d49167%40gmail.com.
Thanks Sameer,
I am not sure how I apply patches !
I ended up downloaded the files in the directory and copied them into my project.
- This didn't work and ended up with a bunch of errors !Is there any chance of just downloading a project with these amendments
On 10/24/2017 11:19 PM, 'Sameer Agarwal' via Ceres Solver wrote:
Alan,There is a "DOWNLOAD" link on that page that lets you download a zipped diff file.I am not sure if the patch will cleanly apply to the master though.Sameer
On Mon, Oct 23, 2017 at 11:17 PM Alan Buchanan <abuc...@gmail.com> wrote:
Sameer,--
I would like to try this code as it looks promising:
How do you download it ?
The download tab for https://ceres-solver-review.googlesource.com/c/ceres-solver/+/9581doesn't seem to work
comes back with : fatal: Not a git repository (or any of the parent directories): .git
Regards,
Alan
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/ddb72914-84f2-49aa-8ae8-1dff1643f17c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Ceres Solver" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ceres-solver/1SrLa1Pr8D4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ceres-solver+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/CABqdRUDkFRphxqYvUWqb8XPRXD1k2Ou%3DmqyLRzP6efszpSiy0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/b9c843f9-ca4f-14ac-2293-6c8ecc08dfbe%40gmail.com.
(venv) ==== 17:22 ==== keir@keir ==== ~ ====Cloning into 'ceres-solver'...remote: Sending approximately 12.92 MiB ...remote: Counting objects: 26, doneremote: Total 10605 (delta 5970), reused 10605 (delta 5970)Receiving objects: 100% (10605/10605), 12.90 MiB | 21.83 MiB/s, done.Resolving deltas: 100% (5970/5970), done.(venv) ==== 17:22 ==== keir@keir ==== ~ ====% cd ceres-solver(venv) ==== 17:22 ==== keir@keir ==== ~/ceres-solver ==== master% git pull https://ceres-solver.googlesource.com/ceres-solver refs/changes/81/9581/2remote: Counting objects: 529, doneremote: Finding sources: 100% (17/17)remote: Total 17 (delta 1), reused 12 (delta 1)Unpacking objects: 100% (17/17), done.* branch refs/changes/81/9581/2 -> FETCH_HEADAuto-merging internal/ceres/schur_eliminator_impl.hAuto-merging internal/ceres/schur_complement_solver.hAuto-merging internal/ceres/schur_complement_solver.ccCONFLICT (content): Merge conflict in internal/ceres/schur_complement_solver.ccAuto-merging internal/ceres/random.hAuto-merging internal/ceres/program_evaluator.hAuto-merging internal/ceres/covariance_test.ccAuto-merging internal/ceres/covariance_impl.ccCONFLICT (content): Merge conflict in internal/ceres/covariance_impl.ccAuto-merging include/ceres/types.hCONFLICT (content): Merge conflict in include/ceres/types.hAuto-merging include/ceres/covariance.hCONFLICT (content): Merge conflict in include/ceres/covariance.hAutomatic merge failed; fix conflicts and then commit the result.
cd ceres-solvergit fetch https://ceres-solver.googlesource.com/ceres-solver refs/changes/81/9581/2 && git checkout FETCH_HEAD
--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/8cc0ea3d-8e19-43e4-8828-f4f0b85ff376%40googlegroups.com.