project_point_hom_mat3d T_project_point_hom_mat3d ProjectPointHomMat3d ProjectPointHomMat3d project_point_hom_mat3d (Operator)
Name
project_point_hom_mat3d T_project_point_hom_mat3d ProjectPointHomMat3d ProjectPointHomMat3d project_point_hom_mat3d — Projizieren eines 3D-Punktes mittels einer 3×4 Projektionsmatrix.
Signatur
Herror T_project_point_hom_mat3d (const Htuple HomMat3D , const Htuple Px , const Htuple Py , const Htuple Pz , Htuple* Qx , Htuple* Qy )
void ProjectPointHomMat3d (const HTuple& HomMat3D , const HTuple& Px , const HTuple& Py , const HTuple& Pz , HTuple* Qx , HTuple* Qy )
HTuple HHomMat3D ::ProjectPointHomMat3d (const HTuple& Px , const HTuple& Py , const HTuple& Pz , HTuple* Qy ) const
double HHomMat3D ::ProjectPointHomMat3d (double Px , double Py , double Pz , double* Qy ) const
static void HOperatorSet .ProjectPointHomMat3d (HTuple homMat3D , HTuple px , HTuple py , HTuple pz , out HTuple qx , out HTuple qy )
HTuple HHomMat3D .ProjectPointHomMat3d (HTuple px , HTuple py , HTuple pz , out HTuple qy )
double HHomMat3D .ProjectPointHomMat3d (double px , double py , double pz , out double qy )
def project_point_hom_mat3d (hom_mat_3d : Sequence[float], px : MaybeSequence[Union[float, int]], py : MaybeSequence[Union[float, int]], pz : MaybeSequence[Union[float, int]]) -> Tuple[Sequence[float], Sequence[float]]
def project_point_hom_mat3d_s (hom_mat_3d : Sequence[float], px : MaybeSequence[Union[float, int]], py : MaybeSequence[Union[float, int]], pz : MaybeSequence[Union[float, int]]) -> Tuple[float, float]
Beschreibung
project_point_hom_mat3d project_point_hom_mat3d ProjectPointHomMat3d ProjectPointHomMat3d ProjectPointHomMat3d project_point_hom_mat3d wendet die 3×4 Projektionsmatrix
HomMat3D HomMat3D HomMat3D HomMat3D homMat3D hom_mat_3d auf alle Eingabepunkte
(Px Px Px Px px px ,Py Py Py Py py py ,Pz Pz Pz Pz pz pz ) an und liefert ein Tupel von
Ergebnispunkten (Qx Qx Qx Qx qx qx ,Qy Qy Qy Qy qy qy ) zurück. Die
Transformation wird durch eine homogene Transformationsmatrix
beschrieben, die in HomMat3D HomMat3D HomMat3D HomMat3D homMat3D hom_mat_3d übergeben wird. Dies
entspricht den folgenden Gleichungen (Ein- und Ausgabepunkte als
homogene Vektoren dargestellt):
project_point_hom_mat3d project_point_hom_mat3d ProjectPointHomMat3d ProjectPointHomMat3d ProjectPointHomMat3d project_point_hom_mat3d transformiert hierauf die
homogenen Koordinaten in euklidische Koordinaten, indem durch Tw
geteilt wird:
Falls bei dieser Transformation ein Punkt auf der unendlich fernen
Geraden erzeugt wird (Tw = 0), wird eine Fehlermeldung
zurückgeliefert. Falls dies nicht erwünscht ist, kann
project_hom_point_hom_mat3d project_hom_point_hom_mat3d ProjectHomPointHomMat3d ProjectHomPointHomMat3d ProjectHomPointHomMat3d project_hom_point_hom_mat3d verwendet werden.
Es ist zu beachten, dass, konsistent mit den Konventionen in
calibrate_cameras calibrate_cameras CalibrateCameras CalibrateCameras CalibrateCameras calibrate_cameras , Qx Qx Qx Qx qx qx der Spaltenkoordinate und
Qy Qy Qy Qy qy qy der Zeilenkoordinate in einem Bild entspricht.
Ausführungsinformationen
Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
Automatisch parallelisiert auf interner Datenebene.
Parameter
HomMat3D HomMat3D HomMat3D HomMat3D homMat3D hom_mat_3d (input_control) hom_mat3d → HHomMat3D , HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
3×4 Projektionsmatrix.
Px Px Px Px px px (input_control) number(-array) → HTuple MaybeSequence[Union[float, int]] HTuple Htuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Eingabepunkt (x-Koordinate).
Py Py Py Py py py (input_control) number(-array) → HTuple MaybeSequence[Union[float, int]] HTuple Htuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Eingabepunkt (y-Koordinate).
Pz Pz Pz Pz pz pz (input_control) number(-array) → HTuple MaybeSequence[Union[float, int]] HTuple Htuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Eingabepunkt (z-Koordinate).
Qx Qx Qx Qx qx qx (output_control) real(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Ausgabepunkt (x-Koordinate).
Qy Qy Qy Qy qy qy (output_control) real(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Ausgabepunkt (y-Koordinate).
Vorgänger
cam_par_pose_to_hom_mat3d cam_par_pose_to_hom_mat3d CamParPoseToHomMat3d CamParPoseToHomMat3d CamParPoseToHomMat3d cam_par_pose_to_hom_mat3d
Alternativen
project_hom_point_hom_mat3d project_hom_point_hom_mat3d ProjectHomPointHomMat3d ProjectHomPointHomMat3d ProjectHomPointHomMat3d project_hom_point_hom_mat3d ,
project_3d_point project_3d_point Project3dPoint Project3dPoint Project3dPoint project_3d_point
Modul
Foundation