projective_trans_point_2dT_projective_trans_point_2dProjectiveTransPoint2dProjectiveTransPoint2dprojective_trans_point_2d — Project a homogeneous 2D point using a projective transformation
matrix.
projective_trans_point_2dprojective_trans_point_2dProjectiveTransPoint2dProjectiveTransPoint2dprojective_trans_point_2d applies the homogeneous projective
transformation matrix HomMat2DHomMat2DHomMat2DhomMat2Dhom_mat_2d to all homogeneous input
points (PxPxPxpxpx,PyPyPypypy,PwPwPwpwpw) and returns an array of
homogeneous output points (QxQxQxqxqx,QyQyQyqyqy,QwQwQwqwqw). The
transformation is described by the homogeneous transformation matrix
given in HomMat2DHomMat2DHomMat2DhomMat2Dhom_mat_2d. This corresponds to the following
equation (input and output points as homogeneous vectors):
To transform the homogeneous coordinates to Euclidean coordinates,
they have to be divided by QwQwQwqwqw:
If the points to transform are specified in standard image
coordinates, their row coordinates must be passed in
PxPxPxpxpx and their column coordinates in PyPyPypypy. This
is necessary to obtain a right-handed coordinate system for the
image. In particular, this assures that rotations are performed in
the correct direction. Note that the (x,y) order of the
matrices quite naturally corresponds to the usual (row,column) order
for coordinates in the image.
Execution Information
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
Multithreading scope: global (may be called from any thread).
Automatically parallelized on internal data level.