From ceb98aa2d228d47b29f33a5b27ff161d193082ce Mon Sep 17 00:00:00 2001 From: kalman Date: Fri, 15 Mar 2019 18:11:13 +0800 Subject: [PATCH] fix(disparity): change uniqueness ratio --- src/mynteye/api/processor/disparity_processor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mynteye/api/processor/disparity_processor.cc b/src/mynteye/api/processor/disparity_processor.cc index ebe86c3..9440aa2 100644 --- a/src/mynteye/api/processor/disparity_processor.cc +++ b/src/mynteye/api/processor/disparity_processor.cc @@ -80,7 +80,7 @@ DisparityProcessor::DisparityProcessor(DisparityComputingMethod type, bm_matcher->setBlockSize(15); bm_matcher->setMinDisparity(0); bm_matcher->setNumDisparities(64); - bm_matcher->setUniquenessRatio(15); + bm_matcher->setUniquenessRatio(60); bm_matcher->setTextureThreshold(10); bm_matcher->setSpeckleWindowSize(100); bm_matcher->setSpeckleRange(4);