[Bf-blender-cvs] [56a5f17] master: Libmv: Enable explicit Schur complement matrix by default

Sergey Sharybin noreply at git.blender.org
Mon Sep 29 20:49:15 CEST 2014


Commit: 56a5f1784626021e86a9448613ceabf3306cc63e
Author: Sergey Sharybin
Date:   Tue Sep 30 00:43:04 2014 +0600
Branches: master
https://developer.blender.org/rB56a5f1784626021e86a9448613ceabf3306cc63e

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.

===================================================================

M	extern/libmv/libmv/simple_pipeline/bundle.cc

===================================================================

diff --git a/extern/libmv/libmv/simple_pipeline/bundle.cc b/extern/libmv/libmv/simple_pipeline/bundle.cc
index 09b55f3..e61650f 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;




More information about the Bf-blender-cvs mailing list