[][src]Function opencv::sfm::depth

pub fn depth(
    r: &dyn ToInputArray,
    t: &dyn ToInputArray,
    x: &dyn ToInputArray
) -> Result<f64>

Returns the depth of a point transformed by a rigid transform.

Parameters

  • R: Input 3x3 rotation matrix.
  • t: Input 3x1 translation vector.
  • X: Input 3x1 or 4x1 vector with the 3d point.