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