From 7dc43ae4f93d2604e2e9e22aa7330f937d51d877 Mon Sep 17 00:00:00 2001 From: kalman Date: Fri, 11 Jan 2019 17:36:15 +0800 Subject: [PATCH] fix(depth): delete 1000 --- src/mynteye/api/processor/depth_processor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mynteye/api/processor/depth_processor.cc b/src/mynteye/api/processor/depth_processor.cc index 4f7e3c3..4107065 100644 --- a/src/mynteye/api/processor/depth_processor.cc +++ b/src/mynteye/api/processor/depth_processor.cc @@ -59,7 +59,7 @@ bool DepthProcessor::OnProcess( float disparity_value = input->value.at(i, j); if (disparity_value < DISPARITY_MAX && disparity_value > DISPARITY_MIN) { float depth = calib_infos_->T_mul_f / disparity_value; - depth_mat.at(i, j) = depth * 1000; + depth_mat.at(i, j) = depth; } } }