size_t aggregationWindowHeight,
size_t maxSpeckleSize)
{
+ LOGI("ENTER");
+
mTextureThreshold = textureThreshold;
mAggregationWindowWidth = aggregationWindowWidth;
mAggregationWindowHeight = aggregationWindowHeight;
mDfsOcv = cv::StereoSGBM::create(1, mNumDisparities, mBlockSize);
this->SetParameters();
+ LOGI("LEAVE");
}
void DfsOCV::SetParameters()
{
- mDfsOcv->setMinDisaprity(mMinDisparity);
- mDfsOcv->setNumDisaprities(mNumDisparities);
+ LOGI("ENTER");
+
+ mDfsOcv->setMinDisparity(mMinDisparity);
+ mDfsOcv->setNumDisparities(mNumDisparities);
mDfsOcv->setBlockSize(mBlockSize);
mDfsOcv->setP1(mP1 * mBlockSize * mBlockSize);
mDfsOcv->setP2(mP2 * mBlockSize * mBlockSize);
mDfsOcv->setPreFilterCap(mPreFilterCap);
mDfsOcv->setMode(cv::StereoSGBM::MODE_SGBM_3WAY);
+ LOGI("LEAVE");
}
extern "C"