From 258f28fafcd77f2c2a21bc7c460a6b9d33ed0f5b Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Tue, 3 Nov 2020 11:31:18 +0200 Subject: [PATCH] Disable new features by default --- components/renderers/cpp/src/CUDARender.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/renderers/cpp/src/CUDARender.cpp b/components/renderers/cpp/src/CUDARender.cpp index ec4a59239..e3817f45a 100644 --- a/components/renderers/cpp/src/CUDARender.cpp +++ b/components/renderers/cpp/src/CUDARender.cpp @@ -257,7 +257,7 @@ void CUDARender::_mesh(ftl::rgbd::Frame &out, const Eigen::Matrix4d &t, cudaStre bool use_depth = scene_->anyHasChannel(Channel::Depth) || scene_->anyHasChannel(Channel::GroundTruth); // For each source depth map, verify results - if (value("pre_carve_inputs", true) && !_alreadySeen()) { + if (value("pre_carve_inputs", false) && !_alreadySeen()) { for (size_t i=0; i < scene_->frames.size(); ++i) { //if (!scene_->hasFrame(i)) continue; auto &f = scene_->frames[i].cast<ftl::rgbd::Frame>(); @@ -427,7 +427,7 @@ void CUDARender::_mesh(ftl::rgbd::Frame &out, const Eigen::Matrix4d &t, cudaStre // Generate actual depth map using MLS with mesh as estimate float mls_smoothing = value("mls_smooth", 0.05f); int mls_iter = value("mls_iter", 3); - if (value("mls_full", true)) { + if (value("mls_full", false)) { // Clear buffers mls_centroid_.create(params_.camera.height, params_.camera.width, CV_32FC4); mls_contrib_.create(params_.camera.height, params_.camera.width, CV_32F); -- GitLab