From 9eb1f9dc933964905daa63bf67997700c3170b6d Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Sun, 30 Aug 2020 18:54:48 +0300 Subject: [PATCH] Default disp back to 256 --- components/operators/src/disparity/fixstars_sgm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/operators/src/disparity/fixstars_sgm.cpp b/components/operators/src/disparity/fixstars_sgm.cpp index 9a904f9c7..6f0599ec4 100644 --- a/components/operators/src/disparity/fixstars_sgm.cpp +++ b/components/operators/src/disparity/fixstars_sgm.cpp @@ -62,7 +62,7 @@ FixstarsSGM::FixstarsSGM(ftl::operators::Graph *g, ftl::Configurable* cfg) : uniqueness_ = cfg->value("uniqueness", 0.95f); P1_ = cfg->value("P1", 10); P2_ = cfg->value("P2", 120); - max_disp_ = cfg->value("max_disp", 192); + max_disp_ = cfg->value("max_disp", 256); if (uniqueness_ < 0.0 || uniqueness_ > 1.0) { uniqueness_ = 1.0; -- GitLab