Cv2ConvertPointsToHomogeneous Method (IEnumerableVec2f) 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 Vec3f[] ConvertPointsToHomogeneous(
	IEnumerable<Vec2f> src
)

Parameters

src
Type: System.Collections.GenericIEnumerableVec2f
Input vector of N-dimensional points.

Return Value

Type: Vec3f
Output vector of N+1-dimensional points.
See Also

Reference