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

what if we don't rectify the stereo images? #56

Open
qingzhengzhuma opened this issue May 13, 2020 · 2 comments
Open

what if we don't rectify the stereo images? #56

qingzhengzhuma opened this issue May 13, 2020 · 2 comments

Comments

@qingzhengzhuma
Copy link

qingzhengzhuma commented May 13, 2020

I am wondering if i don't rectify the stereo images, will it influence the cost calculation? because the orientation of the real matched points is very likely not the same, there is always a rotation or other transformation in the surounding content of the real matched points. Additionally, in this configuration, the MAX_DISPARITY might be the width of the right image, which could be over 1000 pixels, because the right image might actually be in the left of the refference image, the global memory could not be enough, but we could use tiling of the refference image to deal with it. However, the shared memory usage is very diffcult to eliminate, can anyone give me some advice to handle it?

@qingzhengzhuma
Copy link
Author

qingzhengzhuma commented May 13, 2020

After reading more about the cencus transform feature, whithout stereo rectification, i think the precision will decrease, because this feature isn't roboust the rotation. In my situation, the motion between two cameras is very large so it's diffcult to rectify the stereo images or maybe i wrongly did it with opencv.

@initialneil
Copy link

When the baseline is large or the rotation is large, you might need to see plane sweeping. Use plane sweeping to setup the cost volume and solve with SGM.
Meshroom/AliceVision's depth map generation module seems to do it this way.

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