projective_trans_hom_point_3dT_projective_trans_hom_point_3dProjectiveTransHomPoint3dProjectiveTransHomPoint3d (Operator)

Name

projective_trans_hom_point_3dT_projective_trans_hom_point_3dProjectiveTransHomPoint3dProjectiveTransHomPoint3d — Projiziert einen homogenen 3D-Punkt mittels einer projektiven Transformationsmatrix.

Signatur

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)

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

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)

Beschreibung

projective_trans_hom_point_3dprojective_trans_hom_point_3dProjectiveTransHomPoint3dProjectiveTransHomPoint3dProjectiveTransHomPoint3d wendet die homogene projektive Transformationsmatrix HomMat3DHomMat3DHomMat3DHomMat3DhomMat3D auf alle homogenen Eingabepunkte (PxPxPxPxpx,PyPyPyPypy,PzPzPzPzpz,PwPwPwPwpw) an und liefert ein Tupel von homogenen Ergebnispunkten (QxQxQxQxqx,QyQyQyQyqy,QzQzQzQzqz,QwQwQwQwqw) zurück. Die Transformation wird durch eine homogene Transformationsmatrix beschrieben, die in HomMat3DHomMat3DHomMat3DHomMat3DhomMat3D übergeben wird. Dies entspricht der folgenden Gleichung (Ein- und Ausgabepunkte als homogene Vektoren dargestellt):

Um die homogenen Koordinaten in euklidische Koordinaten zu transformieren, muss durch QwQwQwQwqw geteilt werden: Dies kann direkt mit projective_trans_point_3dprojective_trans_point_3dProjectiveTransPoint3dProjectiveTransPoint3dProjectiveTransPoint3d erreicht werden. Daher ist projective_trans_hom_point_3dprojective_trans_hom_point_3dProjectiveTransHomPoint3dProjectiveTransHomPoint3dProjectiveTransHomPoint3d hauptsächlich in Situationen nützlich, in denen die Ergebinspunkte in der unendlich fernen Ebene liegen können, d.h. QwQwQwQwqw = 0 besitzen können, und somit die obige Division nicht ausgeführt werden kann.

Ausführungsinformationen

Parameter

HomMat3DHomMat3DHomMat3DHomMat3DhomMat3D (input_control)  hom_mat3d HHomMat3D, HTupleHTupleHtuple (real) (double) (double) (double)

Homogene projektive Transformationsmatrix.

PxPxPxPxpx (input_control)  number(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Eingabepunkt (x-Koordinate).

PyPyPyPypy (input_control)  number(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Eingabepunkt (y-Koordinate).

PzPzPzPzpz (input_control)  number(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Eingabepunkt (z-Koordinate).

PwPwPwPwpw (input_control)  number(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Eingabepunkt (w-Koordinate).

QxQxQxQxqx (output_control)  number(-array) HTupleHTupleHtuple (real) (double) (double) (double)

Ausgabepunkt (x-Koordinate).

QyQyQyQyqy (output_control)  number(-array) HTupleHTupleHtuple (real) (double) (double) (double)

Ausgabepunkt (y-Koordinate).

QzQzQzQzqz (output_control)  number(-array) HTupleHTupleHtuple (real) (double) (double) (double)

Ausgabepunkt (z-Koordinate).

QwQwQwQwqw (output_control)  number(-array) HTupleHTupleHtuple (real) (double) (double) (double)

Ausgabepunkt (w-Koordinate).

Vorgänger

vector_to_hom_mat3dvector_to_hom_mat3dVectorToHomMat3dVectorToHomMat3dVectorToHomMat3d

Alternativen

projective_trans_point_3dprojective_trans_point_3dProjectiveTransPoint3dProjectiveTransPoint3dProjectiveTransPoint3d

Modul

Foundation