rcnn-depth icon indicating copy to clipboard operation
rcnn-depth copied to clipboard

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

Open dhorka opened this issue 5 years ago • 1 comments

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,

dhorka avatar Feb 20 '20 11:02 dhorka

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.

Erientes avatar Nov 10 '20 16:11 Erientes