MATLAB File Help: cv.convertPointsToHomogeneous | Index |
Converts points from Euclidean to homogeneous space
dst = cv.convertPointsToHomogeneous(src)
{[x,y], [x,y], ...}
or
{[x,y,z], [x,y,z], ...}
. Supports floating-point types.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)
.