pub fn disparity_to_depth( disparity: ImageView<'_, f32, 1>, focal_length: f64, baseline: f64, ) -> VisionResult<Image<f32, 1>>
Converts horizontal disparity to metric depth with Z = f * B / d.
Z = f * B / d