Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cuda sgm sgbm_gpu->setSpeckleWindowSize(200); sgbm_gpu->setSpeckleRange(1); does not work #3700

Open
deepConnectionism opened this issue Mar 20, 2024 · 1 comment

Comments

@deepConnectionism
Copy link

image

There are patches in the sky that can't be removed?

我的参数如下:

sgbm_gpu = cv::cuda::createStereoSGM(0, 128, 10, 120, 5, cv::cuda::StereoSGM::MODE_HH4);
sgbm_gpu->setMinDisparity(0);
sgbm_gpu->setNumDisparities(128); 
int blockSize = 7; //5
sgbm_gpu->setBlockSize(blockSize);
sgbm_gpu->setP1(10);
sgbm_gpu->setP2(120);
sgbm_gpu->setUniquenessRatio(5);
sgbm_gpu->setPreFilterCap(0); 
sgbm_gpu->setSpeckleWindowSize(50); 
sgbm_gpu->setSpeckleRange(1);
sgbm_gpu->setMode(cv::cuda::StereoSGM::MODE_HH4);
sgbm_gpu->setDisp12MaxDiff(1);

Is there anything wrong with my data? Looking forward to your reply.

@cudawarped
Copy link
Contributor

Not all of the CPU function has been implemented including setSpeckleRange().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants