From 1355a5a3c822fc7fa6aae6939a141fc78151b9c7 Mon Sep 17 00:00:00 2001 From: Bowen Zhang Date: Thu, 25 May 2023 09:56:59 -0700 Subject: [PATCH] Update comment of checkRT function in Initializer.cc --- src/Initializer.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Initializer.cc b/src/Initializer.cc index 1948dd7..ebffa51 100644 --- a/src/Initializer.cc +++ b/src/Initializer.cc @@ -1619,9 +1619,7 @@ int Initializer::CheckRT(const cv::Mat &R, const cv::Mat &t, const vector0.99998 吗? - // ?因为后面判断vbGood 点时的条件也是 cosParallax<0.99998 - // !可能导致初始化不稳定 + // 只有当视差足够大时(cosParallax小于0.99998说明此时视差大于0.36°)才检查深度值,因为小视差情况下的点很容易有负深度 if(p3dC1.at(2)<=0 && cosParallax<0.99998) continue;