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 are the correct dimension and ndisp values for Middlebury datasets? #56

Open
tltsilveira opened this issue Sep 16, 2018 · 1 comment

Comments

@tltsilveira
Copy link

tltsilveira commented Sep 16, 2018

Hey everybody. I am trying to predict depth from the test images of Middlebury 2006. However the obtained results are very poor and they have a large portion of estimated map the with no disparity (like the maximum value).

In particular I am using the mb slow model on full size images.

ndisp is set as
ndisp = max(gtDisp) * 1.1
where gtDisp is the ground-truth disparity map for of a given stereo pair of interest.

Do you know this issue?

Thank you in advance.

@tltsilveira tltsilveira changed the title What are the correct dimension and ndisp for Middlebury datasets? What are the correct dimension and ndisp values for Middlebury datasets? Sep 17, 2018
@saeid-h
Copy link

saeid-h commented Oct 2, 2018

if you open the calib.txt file for each image, you will find it. Files contain information like this:
cam0=[1038.018 0 322.037; 0 1038.018 243.393; 0 0 1]
cam1=[1038.018 0 375.308; 0 1038.018 243.393; 0 0 1]
doffs=53.271
baseline=176.252
width=718
height=496
ndisp=73
isint=0
vmin=8
vmax=65
dyavg=0.184
dymax=0.423

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