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
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.
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,