Cv2ConvertPointsToHomogeneous Method (InputArray, OutputArray) OpenCvSharp Class Library
converts point coordinates from normal pixel coordinates to homogeneous coordinates ((x,y)->(x,y,1))

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void ConvertPointsToHomogeneous(
	InputArray src,
	OutputArray dst
)

Parameters

src
Type: OpenCvSharp.CPlusPlusInputArray
Input vector of N-dimensional points.
dst
Type: OpenCvSharp.CPlusPlusOutputArray
Output vector of N+1-dimensional points.
See Also

Reference