MATLAB File Help: cv.convertPointsFromHomogeneous | Index |
Converts points from homogeneous to Euclidean space
dst = cv.convertPointsFromHomogeneous(src)
{[x,y,z], [x,y,z], ...}
or
{[x,y,z,w], [x,y,z,w], ...}
. Supports floating-point types.The function converts points homogeneous to Euclidean space using
perspective projection. That is, each point (x1, x2, ..., x(n-1), xn)
is
converted to (x1/xn, x2/xn, ..., x(n-1)/xn)
. When xn=0
, the output point
coordinates will be (0,0,0,...)
.