Input stereo camera focal length f (pixels), baseline B, and disparity d (pixels), compute depth Z = f·B/d for visual navigation and obstacle avoidance.
輸入焦距 f(畫素)、基線 B、視差 d(畫素),求深度。