1 | initial version |
For some parameters this makes sense, like the minimum disparity and number of disparity values, but the rest of the parameters are largely independent of particular camera system used. They are highly dependent on the scene being viewed though.
The disparity of an object in the scene is related to the focal length of the camera, the baseline between the two cameras and depth of the object by the formula: where d is the disparity in pixels, f the focal length in pixels, B the baseline in metric, and the z the depth in metric. Assuming you know the rough depth of objects you expect to observe with your camera, and by knowing your camera's focal length along the stereo axis, and the stereo baseline, you can determine the valid disparity range.