forked from bartvdbraak/blender
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.
This commit is contained in:
parent
b16e924251
commit
56a5f17846
2
extern/libmv/libmv/simple_pipeline/bundle.cc
vendored
2
extern/libmv/libmv/simple_pipeline/bundle.cc
vendored
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user