fix(*) depth cut range change to 0-64.
This commit is contained in:
parent
9455ed8a0f
commit
f530f94472
|
@ -21,8 +21,8 @@ MYNTEYE_BEGIN_NAMESPACE
|
|||
|
||||
const char DepthProcessor::NAME[] = "DepthProcessor";
|
||||
|
||||
const int DISPARITY_MIN = 0;
|
||||
const int DISPARITY_MAX = 64;
|
||||
int DISPARITY_MIN = 0;
|
||||
int DISPARITY_MAX = 64;
|
||||
|
||||
DepthProcessor::DepthProcessor(
|
||||
std::shared_ptr<struct CameraROSMsgInfoPair> calib_infos,
|
||||
|
|
|
@ -93,6 +93,8 @@ DisparityProcessor::DisparityProcessor(DisparityComputingMethod type,
|
|||
bm_matcher->setSpeckleWindowSize(100);
|
||||
bm_matcher->setSpeckleRange(4);
|
||||
bm_matcher->setPreFilterType(cv::StereoBM::PREFILTER_XSOBEL);
|
||||
// DISPARITY_MIN = bm_matcher->getMinDisparity();
|
||||
// DISPARITY_MAX = bm_matcher->getMinDisparity();
|
||||
#endif
|
||||
NotifyComputingTypeChanged(type_);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user