projective_trans_pixel T_projective_trans_pixel ProjectiveTransPixel ProjectiveTransPixel projective_trans_pixel (Operator)
Name
projective_trans_pixel T_projective_trans_pixel ProjectiveTransPixel ProjectiveTransPixel projective_trans_pixel — 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 )
def projective_trans_pixel (hom_mat_2d : Sequence[float], row : MaybeSequence[Union[float, int]], col : MaybeSequence[Union[float, int]]) -> Tuple[Sequence[float], Sequence[float]]
def projective_trans_pixel_s (hom_mat_2d : Sequence[float], row : MaybeSequence[Union[float, int]], col : MaybeSequence[Union[float, int]]) -> Tuple[float, float]
Beschreibung
projective_trans_pixel projective_trans_pixel ProjectiveTransPixel ProjectiveTransPixel ProjectiveTransPixel projective_trans_pixel wendet die homogene projektive
Transformationsmatrix HomMat2D HomMat2D HomMat2D HomMat2D homMat2D hom_mat_2d auf alle Eingabepixel
(Row Row Row Row row row ,Col Col Col Col col col ) an und liefert eine Liste von
Ergebnispixeln (RowTrans RowTrans RowTrans RowTrans rowTrans row_trans ,ColTrans ColTrans ColTrans ColTrans colTrans col_trans ) zurück. Die
Transformation wird durch eine homogene Transformationsmatrix
beschrieben, die in HomMat2D HomMat2D HomMat2D HomMat2D homMat2D hom_mat_2d übergeben wird.
Der Unterschied zwischen projective_trans_pixel projective_trans_pixel ProjectiveTransPixel ProjectiveTransPixel ProjectiveTransPixel projective_trans_pixel und
projective_trans_point_2d projective_trans_point_2d ProjectiveTransPoint2d ProjectiveTransPoint2d ProjectiveTransPoint2d projective_trans_point_2d liegt im verwendeten
Koordinatensystem: projective_trans_pixel projective_trans_pixel ProjectiveTransPixel ProjectiveTransPixel ProjectiveTransPixel projective_trans_pixel 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 projective_trans_point_2d 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 area_center genutzt wird.
projective_trans_pixel projective_trans_pixel ProjectiveTransPixel ProjectiveTransPixel ProjectiveTransPixel projective_trans_pixel 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).
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.
Row Row Row Row row row (input_control) point.x(-array) → HTuple MaybeSequence[Union[float, int]] 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 col (input_control) point.y(-array) → HTuple MaybeSequence[Union[float, int]] 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 row_trans (output_control) point.x(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Ausgabepixel (Zeilenkoordinate).
ColTrans ColTrans ColTrans ColTrans colTrans col_trans (output_control) point.y(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Ausgabepixel (Spaltenkoordinate).
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_point_2d projective_trans_point_2d ProjectiveTransPoint2d ProjectiveTransPoint2d ProjectiveTransPoint2d projective_trans_point_2d
Modul
Foundation