Name
proj_hom_mat2d_to_poseT_proj_hom_mat2d_to_poseProjHomMat2dToPoseproj_hom_mat2d_to_poseProjHomMat2dToPoseProjHomMat2dToPose — Berechnen einer Pose anhand der Homographie von Weltkoordinaten zu
Bildkoordinaten.
proj_hom_mat2d_to_poseproj_hom_mat2d_to_poseProjHomMat2dToPoseproj_hom_mat2d_to_poseProjHomMat2dToPoseProjHomMat2dToPose berechnet eine Pose anhand der
HomographyHomographyHomographyHomographyHomographyhomography von 2D-Weltkoordinaten (Einheit Meter) zu 2D
Bildkoordinaten. Die HomographyHomographyHomographyHomographyHomographyhomography kann z.B. durch Verwendung
von vector_to_proj_hom_mat2dvector_to_proj_hom_mat2dVectorToProjHomMat2dvector_to_proj_hom_mat2dVectorToProjHomMat2dVectorToProjHomMat2d erstellt werden und darf
keinesfalls mit Homographien aus 2D Matching Operatoren (z.B.
find_uncalib_descriptor_modelfind_uncalib_descriptor_modelFindUncalibDescriptorModelfind_uncalib_descriptor_modelFindUncalibDescriptorModelFindUncalibDescriptorModel) verwechselt werden. Zur
Berechnung der Pose ist eine Kameramatrix (z.B. aus
cam_par_to_cam_matcam_par_to_cam_matCamParToCamMatcam_par_to_cam_matCamParToCamMatCamParToCamMat) nötig, die in CameraMatrixCameraMatrixCameraMatrixCameraMatrixCameraMatrixcameraMatrix
übergeben wird. Durch den Parameter MethodMethodMethodMethodMethodmethod kann gewählt
werden, welches Vorgehen zur Berechnung der Pose verwendet wird. Im
Augenblick werden eine direkte Zerlegung (MethodMethodMethodMethodMethodmethod =
'decomposition') und eine auf Singulärwertzerlegung basierende
(MethodMethodMethodMethodMethodmethod = 'decomposition_svd') unterstützt. Die direkte
Zerlegung ('decomposition') liefert aufgrund numerischer Gründe im
Allgemeinen robustere Ergebnisse.
Die Abfolge von Aufrufen der Operatoren
vector_to_proj_hom_mat2dvector_to_proj_hom_mat2dVectorToProjHomMat2dvector_to_proj_hom_mat2dVectorToProjHomMat2dVectorToProjHomMat2d und proj_hom_mat2d_to_poseproj_hom_mat2d_to_poseProjHomMat2dToPoseproj_hom_mat2d_to_poseProjHomMat2dToPoseProjHomMat2dToPose
ist vector_to_posevector_to_poseVectorToPosevector_to_poseVectorToPoseVectorToPose für 2D Objekte ähnlich. Jedoch ist hier
keine Verfeinerung aufgrund von Redundanz möglich.
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Die Homographie zwischen Welt- und Bildkoordinaten.
Die Kamera Kalibriermatrix K.
Art der Posenberechnung.
Defaultwert:
'decomposition'
"decomposition"
"decomposition"
"decomposition"
"decomposition"
"decomposition"
Werteliste: 'decomposition'"decomposition""decomposition""decomposition""decomposition""decomposition", 'decomposition_svd'"decomposition_svd""decomposition_svd""decomposition_svd""decomposition_svd""decomposition_svd"
Sind die Parameterwerte korrekt, dann liefert
proj_hom_mat2d_to_poseproj_hom_mat2d_to_poseProjHomMat2dToPoseproj_hom_mat2d_to_poseProjHomMat2dToPoseProjHomMat2dToPose den Wert 2 (H_MSG_TRUE).
image_points_to_world_planeimage_points_to_world_planeImagePointsToWorldPlaneimage_points_to_world_planeImagePointsToWorldPlaneImagePointsToWorldPlane,
vector_to_proj_hom_mat2dvector_to_proj_hom_mat2dVectorToProjHomMat2dvector_to_proj_hom_mat2dVectorToProjHomMat2dVectorToProjHomMat2d
vector_to_proj_hom_mat2dvector_to_proj_hom_mat2dVectorToProjHomMat2dvector_to_proj_hom_mat2dVectorToProjHomMat2dVectorToProjHomMat2d,
image_points_to_world_planeimage_points_to_world_planeImagePointsToWorldPlaneimage_points_to_world_planeImagePointsToWorldPlaneImagePointsToWorldPlane,
vector_to_posevector_to_poseVectorToPosevector_to_poseVectorToPoseVectorToPose,
camera_calibrationcamera_calibrationCameraCalibrationcamera_calibrationCameraCalibrationCameraCalibration
Calibration