ClassesClassesClassesClasses | | | | Operators

projective_trans_hom_point_3dT_projective_trans_hom_point_3dProjectiveTransHomPoint3dprojective_trans_hom_point_3dProjectiveTransHomPoint3dProjectiveTransHomPoint3d (Operator)

Name

projective_trans_hom_point_3dT_projective_trans_hom_point_3dProjectiveTransHomPoint3dprojective_trans_hom_point_3dProjectiveTransHomPoint3dProjectiveTransHomPoint3d — Project a homogeneous 3D point using a projective transformation matrix.

Signature

projective_trans_hom_point_3d( : : HomMat3D, Px, Py, Pz, Pw : Qx, Qy, Qz, Qw)

Herror T_projective_trans_hom_point_3d(const Htuple HomMat3D, const Htuple Px, const Htuple Py, const Htuple Pz, const Htuple Pw, Htuple* Qx, Htuple* Qy, Htuple* Qz, Htuple* Qw)

Herror projective_trans_hom_point_3d(const HTuple& HomMat3D, const HTuple& Px, const HTuple& Py, const HTuple& Pz, const HTuple& Pw, double* Qx, double* Qy, double* Qz, double* Qw)

Herror projective_trans_hom_point_3d(const HTuple& HomMat3D, const HTuple& Px, const HTuple& Py, const HTuple& Pz, const HTuple& Pw, HTuple* Qx, HTuple* Qy, HTuple* Qz, HTuple* Qw)

void ProjectiveTransHomPoint3d(const HTuple& HomMat3D, const HTuple& Px, const HTuple& Py, const HTuple& Pz, const HTuple& Pw, HTuple* Qx, HTuple* Qy, HTuple* Qz, HTuple* Qw)

HTuple HHomMat3D::ProjectiveTransHomPoint3d(const HTuple& Px, const HTuple& Py, const HTuple& Pz, const HTuple& Pw, HTuple* Qy, HTuple* Qz, HTuple* Qw) const

double HHomMat3D::ProjectiveTransHomPoint3d(double Px, double Py, double Pz, double Pw, double* Qy, double* Qz, double* Qw) const

void HOperatorSetX.ProjectiveTransHomPoint3d(
[in] VARIANT HomMat3d, [in] VARIANT Px, [in] VARIANT Py, [in] VARIANT Pz, [in] VARIANT Pw, [out] VARIANT* Qx, [out] VARIANT* Qy, [out] VARIANT* Qz, [out] VARIANT* Qw)

VARIANT HHomMat3DX.ProjectiveTransHomPoint3d(
[in] VARIANT Px, [in] VARIANT Py, [in] VARIANT Pz, [in] VARIANT Pw, [out] VARIANT* Qy, [out] VARIANT* Qz, [out] VARIANT* Qw)

static void HOperatorSet.ProjectiveTransHomPoint3d(HTuple homMat3D, HTuple px, HTuple py, HTuple pz, HTuple pw, out HTuple qx, out HTuple qy, out HTuple qz, out HTuple qw)

HTuple HHomMat3D.ProjectiveTransHomPoint3d(HTuple px, HTuple py, HTuple pz, HTuple pw, out HTuple qy, out HTuple qz, out HTuple qw)

double HHomMat3D.ProjectiveTransHomPoint3d(double px, double py, double pz, double pw, out double qy, out double qz, out double qw)

Description

projective_trans_hom_point_3dprojective_trans_hom_point_3dProjectiveTransHomPoint3dprojective_trans_hom_point_3dProjectiveTransHomPoint3dProjectiveTransHomPoint3d applies the homogeneous projective transformation matrix HomMat3DHomMat3DHomMat3DHomMat3DHomMat3DhomMat3D to all homogeneous input points (PxPxPxPxPxpx,PyPyPyPyPypy,PzPzPzPzPzpz,PwPwPwPwPwpw) and returns an array of homogeneous output points (QxQxQxQxQxqx,QyQyQyQyQyqy,QzQzQzQzQzqz,QwQwQwQwQwqw). The transformation is described by the homogeneous transformation matrix given in HomMat3DHomMat3DHomMat3DHomMat3DHomMat3DhomMat3D. This corresponds to the following equation (input and output points as homogeneous vectors):

To transform the homogeneous coordinates to Euclidean coordinates, they must be divided by QwQwQwQwQwqw:

This can be achieved directly by calling projective_trans_point_3dprojective_trans_point_3dProjectiveTransPoint3dprojective_trans_point_3dProjectiveTransPoint3dProjectiveTransPoint3d. Thus, projective_trans_hom_point_3dprojective_trans_hom_point_3dProjectiveTransHomPoint3dprojective_trans_hom_point_3dProjectiveTransHomPoint3dProjectiveTransHomPoint3d is primarily useful for transforming points or point sets for which the resulting points might lie in the plane at infinity, i.e., points that potentially have QwQwQwQwQwqw = 0, for which the above division cannot be performed.

Parallelization

Parameters

HomMat3DHomMat3DHomMat3DHomMat3DHomMat3DhomMat3D (input_control)  hom_mat3d HHomMat3D, HTupleHTupleHTupleHHomMat3DX, VARIANTHtuple (real) (double) (double) (double) (double) (double)

Homogeneous projective transformation matrix.

PxPxPxPxPxpx (input_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Input point (x coordinate).

PyPyPyPyPypy (input_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Input point (y coordinate).

PzPzPzPzPzpz (input_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Input point (z coordinate).

PwPwPwPwPwpw (input_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Input point (w coordinate).

QxQxQxQxQxqx (output_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Output point (x coordinate).

QyQyQyQyQyqy (output_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Output point (y coordinate).

QzQzQzQzQzqz (output_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Output point (z coordinate).

QwQwQwQwQwqw (output_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Output point (w coordinate).

Possible Predecessors

vector_to_hom_mat3dvector_to_hom_mat3dVectorToHomMat3dvector_to_hom_mat3dVectorToHomMat3dVectorToHomMat3d

Alternatives

projective_trans_point_3dprojective_trans_point_3dProjectiveTransPoint3dprojective_trans_point_3dProjectiveTransPoint3dProjectiveTransPoint3d

Module

Foundation


ClassesClassesClassesClasses | | | | Operators