Commit 84ac312f authored by Alexander Alekhin's avatar Alexander Alekhin

Merge remote-tracking branch 'upstream/3.4' into merge-3.4

parents 4a80c18c 09fc4303
......@@ -442,7 +442,7 @@ public:
dst_type = CV_32FC4;
break;
case PF_L16:
case PF_DEPTH16:
case PF_DEPTH:
dst_type = CV_16U;
break;
default:
......
......@@ -430,7 +430,10 @@ void EuclideanBundlePointsOnly(const DistortionModelType distortion_model,
#ifdef _OPENMP
options.num_threads = omp_get_max_threads();
#if CERES_VERSION_MAJOR <= 1 && CERES_VERSION_MINOR <= 13
// deprecated since Ceres 1.14.0
options.num_linear_solver_threads = omp_get_max_threads();
#endif
#endif
// Solve!
......@@ -600,7 +603,10 @@ void EuclideanBundleCommonIntrinsics(
#ifdef _OPENMP
options.num_threads = omp_get_max_threads();
#if CERES_VERSION_MAJOR <= 1 && CERES_VERSION_MINOR <= 13
// deprecated since Ceres 1.14.0
options.num_linear_solver_threads = omp_get_max_threads();
#endif
#endif
// Solve!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment