projective_trans_point_2d T_projective_trans_point_2d ProjectiveTransPoint2d ProjectiveTransPoint2d projective_trans_point_2d (Operator)
Name
projective_trans_point_2d T_projective_trans_point_2d ProjectiveTransPoint2d ProjectiveTransPoint2d projective_trans_point_2d
— Projiziert einen homogenen 2D-Punkt mittels einer projektiven
Transformationsmatrix.
Signatur
Herror T_projective_trans_point_2d (const Htuple HomMat2D , const Htuple Px , const Htuple Py , const Htuple Pw , Htuple* Qx , Htuple* Qy , Htuple* Qw )
void ProjectiveTransPoint2d (const HTuple& HomMat2D , const HTuple& Px , const HTuple& Py , const HTuple& Pw , HTuple* Qx , HTuple* Qy , HTuple* Qw )
HTuple HHomMat2D ::ProjectiveTransPoint2d (const HTuple& Px , const HTuple& Py , const HTuple& Pw , HTuple* Qy , HTuple* Qw ) const
double HHomMat2D ::ProjectiveTransPoint2d (double Px , double Py , double Pw , double* Qy , double* Qw ) const
static void HOperatorSet .ProjectiveTransPoint2d (HTuple homMat2D , HTuple px , HTuple py , HTuple pw , out HTuple qx , out HTuple qy , out HTuple qw )
HTuple HHomMat2D .ProjectiveTransPoint2d (HTuple px , HTuple py , HTuple pw , out HTuple qy , out HTuple qw )
double HHomMat2D .ProjectiveTransPoint2d (double px , double py , double pw , out double qy , out double qw )
def projective_trans_point_2d (hom_mat_2d : Sequence[float], px : MaybeSequence[Union[float, int]], py : MaybeSequence[Union[float, int]], pw : MaybeSequence[Union[float, int]]) -> Tuple[Sequence[float], Sequence[float], Sequence[float]]
def projective_trans_point_2d_s (hom_mat_2d : Sequence[float], px : MaybeSequence[Union[float, int]], py : MaybeSequence[Union[float, int]], pw : MaybeSequence[Union[float, int]]) -> Tuple[float, float, float]
Beschreibung
projective_trans_point_2d projective_trans_point_2d ProjectiveTransPoint2d ProjectiveTransPoint2d ProjectiveTransPoint2d projective_trans_point_2d
wendet die homogene projektive
Transformationsmatrix HomMat2D HomMat2D HomMat2D HomMat2D homMat2D hom_mat_2d
auf alle homogenen
Eingabepunkte (Px Px Px Px px px
,Py Py Py Py py py
,Pw Pw Pw Pw pw pw
) an und liefert
eine Liste von homogenen Ergebnispunkten
(Qx Qx Qx Qx qx qx
,Qy Qy Qy Qy qy qy
,Qw Qw Qw Qw qw qw
) zurück. Die Transformation
wird durch eine homogene Transformationsmatrix beschrieben, die in
HomMat2D HomMat2D HomMat2D HomMat2D homMat2D hom_mat_2d
ü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 Qw Qw Qw Qw qw qw
geteilt werden:
Falls die zu transformierenden Punkte in Standard-Bildkoordinaten
vorliegen, müssen die Zeilen -Koordinaten der Punkte in
Px Px Px Px px px
und die Spalten -Koordinaten in Py Py Py Py py py
übergeben werden. Dies ist notwendig, um für das Bild ein
rechtshändiges Koordinatensystem zu erhalten. Insbesondere werden
dadurch Rotationen im korrekten Drehsinn ausgeführt. Die
Koordinatenreihenfolge (x,y) der Matrizen entspricht dann der
üblichen Koordinatenreihenfolge (Zeile,Spalte) der Bilder.
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
HomMat2D HomMat2D HomMat2D HomMat2D homMat2D hom_mat_2d
(input_control) hom_mat2d →
HHomMat2D , HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Homogene projektive Transformationsmatrix.
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).
Pw Pw Pw Pw pw pw
(input_control) number(-array) →
HTuple MaybeSequence[Union[float, int]] HTuple Htuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Eingabepunkt (w-Koordinate).
Qx Qx Qx Qx qx qx
(output_control) number(-array) →
HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Ausgabepunkt (x-Koordinate).
Qy Qy Qy Qy qy qy
(output_control) number(-array) →
HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Ausgabepunkt (y-Koordinate).
Qw Qw Qw Qw qw qw
(output_control) number(-array) →
HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Ausgabepunkt (w-Koordinate).
Vorgänger
vector_to_proj_hom_mat2d vector_to_proj_hom_mat2d VectorToProjHomMat2d VectorToProjHomMat2d VectorToProjHomMat2d vector_to_proj_hom_mat2d
,
hom_vector_to_proj_hom_mat2d hom_vector_to_proj_hom_mat2d HomVectorToProjHomMat2d HomVectorToProjHomMat2d HomVectorToProjHomMat2d hom_vector_to_proj_hom_mat2d
,
proj_match_points_ransac proj_match_points_ransac ProjMatchPointsRansac ProjMatchPointsRansac ProjMatchPointsRansac proj_match_points_ransac
,
proj_match_points_ransac_guided proj_match_points_ransac_guided ProjMatchPointsRansacGuided ProjMatchPointsRansacGuided ProjMatchPointsRansacGuided proj_match_points_ransac_guided
,
hom_mat3d_project hom_mat3d_project HomMat3dProject HomMat3dProject HomMat3dProject hom_mat3d_project
Siehe auch
projective_trans_image projective_trans_image ProjectiveTransImage ProjectiveTransImage ProjectiveTransImage projective_trans_image
,
projective_trans_image_size projective_trans_image_size ProjectiveTransImageSize ProjectiveTransImageSize ProjectiveTransImageSize projective_trans_image_size
,
projective_trans_region projective_trans_region ProjectiveTransRegion ProjectiveTransRegion ProjectiveTransRegion projective_trans_region
,
projective_trans_contour_xld projective_trans_contour_xld ProjectiveTransContourXld ProjectiveTransContourXld ProjectiveTransContourXld projective_trans_contour_xld
,
projective_trans_pixel projective_trans_pixel ProjectiveTransPixel ProjectiveTransPixel ProjectiveTransPixel projective_trans_pixel
Modul
Foundation