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

Doubt in the fixed value of 31000 to estimate the horizontal disparity #48

Open
dhorka opened this issue Feb 20, 2020 · 1 comment
Open

Comments

@dhorka
Copy link

dhorka commented Feb 20, 2020

Hi,
I was going through the save_HHA code and I realize that to calculate the horizontal disparity you are using a fixed value 31000. I was wondering where this value comes from. I checked but I did not found the explanation for that. First I was thinking that it was a trick to obtain a value between 0 and 255, however, I realized that the maximum possible value of the disparity was 310, because you are forcing to be 100 the minimum value of pc(:,:,3). Is there any reason for this value?

I would appreciate if you can help with this doubt. @s-gupta

Best Regards,

@Erientes
Copy link

Did you figure out where the value comes from in the end? I had the same question and would like to use it on a different dataset for which fixed ( and unmotivated) values cause some problems.

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