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

get output disparity referred to the right #15

Closed
amaanda opened this issue Aug 2, 2019 · 2 comments
Closed

get output disparity referred to the right #15

amaanda opened this issue Aug 2, 2019 · 2 comments

Comments

@amaanda
Copy link

amaanda commented Aug 2, 2019

hi! is it possible for me to get the output disparity referred to the right stereo image?

thanks!

@yzcjtr
Copy link
Collaborator

yzcjtr commented Aug 3, 2019

Hi, I can think of two solutions for your purpose:

  1. Feed the original two images into the network and you'll get the disparity map w.r.t the left image. Then you can unproject the image coordinates of left image to 3D space, transform them according to the relative camera motion, and project them into the right image. You'll get the disparity/depth map of the right frame, but the density might not be 100%;

  2. Swap the left and right images, and flip them horizontally at the same time. Feed the processed image pair to the network, and flip the prediction at last. In that case, you'll get a dense disparity map of the right image.

@amaanda
Copy link
Author

amaanda commented Aug 5, 2019

will try that. thanks for the quick reply!

@yzcjtr yzcjtr closed this as completed Aug 6, 2019
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