From 56a5f1784626021e86a9448613ceabf3306cc63e Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 30 Sep 2014 00:43:04 +0600 Subject: Libmv: Enable explicit Schur complement matrix by default Gives up to 2x speed up of camera solving process in average scene. In the really huge one it might be slower, but that we need to investigate. --- extern/libmv/libmv/simple_pipeline/bundle.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extern') diff --git a/extern/libmv/libmv/simple_pipeline/bundle.cc b/extern/libmv/libmv/simple_pipeline/bundle.cc index 09b55f34eef..e61650fb371 100644 --- a/extern/libmv/libmv/simple_pipeline/bundle.cc +++ b/extern/libmv/libmv/simple_pipeline/bundle.cc @@ -424,6 +424,7 @@ void EuclideanBundlePointsOnly(const DistortionModelType distortion_model, options.use_nonmonotonic_steps = true; options.preconditioner_type = ceres::SCHUR_JACOBI; options.linear_solver_type = ceres::ITERATIVE_SCHUR; + options.use_explicit_schur_complement = true; options.use_inner_iterations = true; options.max_num_iterations = 100; @@ -593,6 +594,7 @@ void EuclideanBundleCommonIntrinsics( options.use_nonmonotonic_steps = true; options.preconditioner_type = ceres::SCHUR_JACOBI; options.linear_solver_type = ceres::ITERATIVE_SCHUR; + options.use_explicit_schur_complement = true; options.use_inner_iterations = true; options.max_num_iterations = 100; -- cgit v1.2.3