projective_trans_pixel T_projective_trans_pixel ProjectiveTransPixel ProjectiveTransPixel (Operator)
Name
projective_trans_pixel T_projective_trans_pixel ProjectiveTransPixel ProjectiveTransPixel — Projiziert Pixelkoordinaten mittels einer homogenen projektiven
Transformationsmatrix.
Signatur
void ProjectiveTransPixel (const HTuple& HomMat2D , const HTuple& Row , const HTuple& Col , HTuple* RowTrans , HTuple* ColTrans )
void HHomMat2D ::ProjectiveTransPixel (const HTuple& Row , const HTuple& Col , HTuple* RowTrans , HTuple* ColTrans ) const
void HHomMat2D ::ProjectiveTransPixel (double Row , double Col , double* RowTrans , double* ColTrans ) const
static void HOperatorSet .ProjectiveTransPixel (HTuple homMat2D , HTuple row , HTuple col , out HTuple rowTrans , out HTuple colTrans )
void HHomMat2D .ProjectiveTransPixel (HTuple row , HTuple col , out HTuple rowTrans , out HTuple colTrans )
void HHomMat2D .ProjectiveTransPixel (double row , double col , out double rowTrans , out double colTrans )
Beschreibung
projective_trans_pixel projective_trans_pixel ProjectiveTransPixel ProjectiveTransPixel ProjectiveTransPixel wendet die homogene projektive
Transformationsmatrix HomMat2D HomMat2D HomMat2D HomMat2D homMat2D auf alle Eingabepixel
(Row Row Row Row row ,Col Col Col Col col ) an und liefert eine Liste von
Ergebnispixeln (RowTrans RowTrans RowTrans RowTrans rowTrans ,ColTrans ColTrans ColTrans ColTrans colTrans ) zurück. Die
Transformation wird durch eine homogene Transformationsmatrix
beschrieben, die in HomMat2D HomMat2D HomMat2D HomMat2D homMat2D übergeben wird.
Der Unterschied zwischen projective_trans_pixel projective_trans_pixel ProjectiveTransPixel ProjectiveTransPixel ProjectiveTransPixel und
projective_trans_point_2d projective_trans_point_2d ProjectiveTransPoint2d ProjectiveTransPoint2d ProjectiveTransPoint2d liegt im verwendeten
Koordinatensystem: projective_trans_pixel projective_trans_pixel ProjectiveTransPixel ProjectiveTransPixel ProjectiveTransPixel nutzt ein
Koordinatensystem mit Ursprung in der linken oberen Ecke des Bildes,
während projective_trans_point_2d projective_trans_point_2d ProjectiveTransPoint2d ProjectiveTransPoint2d ProjectiveTransPoint2d das
Standard-Bildkoordinatensystem verwendet, dessen Ursprung in der
Mitte des linken oberen Pixels liegt und das auch von Operatoren wie
area_center area_center AreaCenter AreaCenter AreaCenter genutzt wird.
projective_trans_pixel projective_trans_pixel ProjectiveTransPixel ProjectiveTransPixel ProjectiveTransPixel entspricht den folgenden Schritten
(Ein- und Ausgabepunkte als homogene Vektoren dargestellt):
Falls bei dieser Transformation ein unendlich ferner Punkt erzeugt
wird (WTrans = 0), wird eine Fehlermeldung
zurückgeliefert.
Weitere Informationen
Ein Überblick zu den verschiedenen in HALCON verwendeten 2D
Koordinatensystemen ist in der Einleitung zum Kapitel
Transformationen / 2D-Transformationen gegeben.
Ausführungsinformationen
Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
Wird ohne Parallelisierung verarbeitet.
Parameter
HomMat2D HomMat2D HomMat2D HomMat2D homMat2D (input_control) hom_mat2d → HHomMat2D , HTuple HTuple Htuple (real) (double ) (double ) (double )
Homogene projektive Transformationsmatrix.
Row Row Row Row row (input_control) point.x(-array) → HTuple HTuple Htuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Eingabepixel (Zeilenkoordinate).
Defaultwert: 64
Wertevorschläge: 0, 16, 32, 64, 128, 256, 512, 1024
Col Col Col Col col (input_control) point.y(-array) → HTuple HTuple Htuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Eingabepixel (Spaltenkoordinate).
Defaultwert: 64
Wertevorschläge: 0, 16, 32, 64, 128, 256, 512, 1024
RowTrans RowTrans RowTrans RowTrans rowTrans (output_control) point.x(-array) → HTuple HTuple Htuple (real) (double ) (double ) (double )
Ausgabepixel (Zeilenkoordinate).
ColTrans ColTrans ColTrans ColTrans colTrans (output_control) point.y(-array) → HTuple HTuple Htuple (real) (double ) (double ) (double )
Ausgabepixel (Spaltenkoordinate).
Vorgänger
vector_to_proj_hom_mat2d vector_to_proj_hom_mat2d VectorToProjHomMat2d VectorToProjHomMat2d VectorToProjHomMat2d ,
hom_vector_to_proj_hom_mat2d hom_vector_to_proj_hom_mat2d HomVectorToProjHomMat2d HomVectorToProjHomMat2d HomVectorToProjHomMat2d ,
proj_match_points_ransac proj_match_points_ransac ProjMatchPointsRansac ProjMatchPointsRansac ProjMatchPointsRansac ,
proj_match_points_ransac_guided proj_match_points_ransac_guided ProjMatchPointsRansacGuided ProjMatchPointsRansacGuided ProjMatchPointsRansacGuided ,
hom_mat3d_project hom_mat3d_project HomMat3dProject HomMat3dProject HomMat3dProject
Siehe auch
projective_trans_image projective_trans_image ProjectiveTransImage ProjectiveTransImage ProjectiveTransImage ,
projective_trans_image_size projective_trans_image_size ProjectiveTransImageSize ProjectiveTransImageSize ProjectiveTransImageSize ,
projective_trans_region projective_trans_region ProjectiveTransRegion ProjectiveTransRegion ProjectiveTransRegion ,
projective_trans_contour_xld projective_trans_contour_xld ProjectiveTransContourXld ProjectiveTransContourXld ProjectiveTransContourXld ,
projective_trans_point_2d projective_trans_point_2d ProjectiveTransPoint2d ProjectiveTransPoint2d ProjectiveTransPoint2d
Modul
Foundation