Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-09-29 22:43:04 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-09-29 22:43:04 +0400
commit56a5f1784626021e86a9448613ceabf3306cc63e (patch)
tree049687f0ae3f531a13316503d968c0a528b1d4ca /extern
parentb16e924251f10d878c5c056aed0c4133d3e00c82 (diff)
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.
Diffstat (limited to 'extern')
-rw-r--r--extern/libmv/libmv/simple_pipeline/bundle.cc2
1 files changed, 2 insertions, 0 deletions
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;