[][src]Function opencv::calib3d::convert_points_to_homogeneous

pub fn convert_points_to_homogeneous(
    src: &dyn ToInputArray,
    dst: &mut dyn ToOutputArray
) -> Result<()>

Converts points from Euclidean to homogeneous space.

Parameters

  • src: Input vector of N-dimensional points.
  • dst: Output vector of N+1-dimensional points.

The function converts points from Euclidean to homogeneous space by appending 1's to the tuple of point coordinates. That is, each point (x1, x2, ..., xn) is converted to (x1, x2, ..., xn, 1).