rel_pose_to_fundamental_matrixT_rel_pose_to_fundamental_matrixRelPoseToFundamentalMatrixRelPoseToFundamentalMatrixrel_pose_to_fundamental_matrix (Operator)

Name

rel_pose_to_fundamental_matrixT_rel_pose_to_fundamental_matrixRelPoseToFundamentalMatrixRelPoseToFundamentalMatrixrel_pose_to_fundamental_matrix — Berechnung der Fundamental-Matrix aus der relativen Orientierung zweier Kameras.

Signatur

rel_pose_to_fundamental_matrix( : : RelPose, CovRelPose, CamPar1, CamPar2 : FMatrix, CovFMat)

Herror T_rel_pose_to_fundamental_matrix(const Htuple RelPose, const Htuple CovRelPose, const Htuple CamPar1, const Htuple CamPar2, Htuple* FMatrix, Htuple* CovFMat)

void RelPoseToFundamentalMatrix(const HTuple& RelPose, const HTuple& CovRelPose, const HTuple& CamPar1, const HTuple& CamPar2, HTuple* FMatrix, HTuple* CovFMat)

HHomMat2D HCamPar::RelPoseToFundamentalMatrix(const HPose& RelPose, const HTuple& CovRelPose, const HCamPar& CamPar2, HTuple* CovFMat) const

HHomMat2D HPose::RelPoseToFundamentalMatrix(const HTuple& CovRelPose, const HCamPar& CamPar1, const HCamPar& CamPar2, HTuple* CovFMat) const

HTuple HHomMat2D::RelPoseToFundamentalMatrix(const HPose& RelPose, const HTuple& CovRelPose, const HCamPar& CamPar1, const HCamPar& CamPar2)

static void HOperatorSet.RelPoseToFundamentalMatrix(HTuple relPose, HTuple covRelPose, HTuple camPar1, HTuple camPar2, out HTuple FMatrix, out HTuple covFMat)

HHomMat2D HCamPar.RelPoseToFundamentalMatrix(HPose relPose, HTuple covRelPose, HCamPar camPar2, out HTuple covFMat)

HHomMat2D HPose.RelPoseToFundamentalMatrix(HTuple covRelPose, HCamPar camPar1, HCamPar camPar2, out HTuple covFMat)

HTuple HHomMat2D.RelPoseToFundamentalMatrix(HPose relPose, HTuple covRelPose, HCamPar camPar1, HCamPar camPar2)

def rel_pose_to_fundamental_matrix(rel_pose: Sequence[Union[float, int]], cov_rel_pose: Sequence[Union[float, int]], cam_par_1: Sequence[Union[float, int, str]], cam_par_2: Sequence[Union[float, int, str]]) -> Tuple[Sequence[float], Sequence[float]]

Beschreibung

Kameras mit Linsenverzeichnungen werden durch den folgenden Parametersatz beschrieben: Der Brennweite f, den beiden Skalierungsfaktoren , den Koordinaten des Bildhauptpunktes und dem Verzeichnungskoeffizienten . Für eine detailliertere Beschreibung siehe das Kapitel Kalibrierung. Nur Kameras mit einem Verzeichnungskoeffizienten gleich null bilden gerade Linien in Raum auf gerade Linien im Bild ab. Dies trifft auch auf Kameras mit telezentrischen Objektiven und mit Schwenkobjektiven zu. rel_pose_to_fundamental_matrixrel_pose_to_fundamental_matrixRelPoseToFundamentalMatrixRelPoseToFundamentalMatrixRelPoseToFundamentalMatrixrel_pose_to_fundamental_matrix behandelt telezentrische Objektive und Schwenkobjektive korrekt. Diese Objektivtypen werden jedoch zur Vereinfachung in den untenstehenden Formeln ignoriert. Ist der Verzeichnungskoeffizient gleich null, dann ist die Projektion eine lineare Abbildung, und die internen Kameraparameter können in einer Kameramatrix CamMat zusammengefasst werden: Ein lineares Kameramodell ist eine Approximation der realen, nichtlinearen Kamera. Für ein Vielzahl von Kameraobjektiven, besonders Teleobjektiven, ist der Fehler, welcher durch die lineare Approximation entsteht, vernachlässigbar. Gemäß der Formel wird die Essential-Matrix aus der Translation t und Rotation R der relativen Orientierung RelPoseRelPoseRelPoseRelPoserelPoserel_pose abgeleitet (siehe auch Operator vector_to_rel_posevector_to_rel_poseVectorToRelPoseVectorToRelPoseVectorToRelPosevector_to_rel_pose). In Rahmen der linearen Approximation ist dann die Fundamental-Matrix gemäß der Formel präsentiert unter essential_to_fundamental_matrixessential_to_fundamental_matrixEssentialToFundamentalMatrixEssentialToFundamentalMatrixEssentialToFundamentalMatrixessential_to_fundamental_matrix aus der relativen Lage zu berechnen: Die Transformation geht einher mit einer Fortpflanzung der Kovarianzmatrizen von CovRelPoseCovRelPoseCovRelPoseCovRelPosecovRelPosecov_rel_pose zu CovFMatCovFMatCovFMatCovFMatcovFMatcov_fmat. Sollte CovRelPoseCovRelPoseCovRelPoseCovRelPosecovRelPosecov_rel_pose leer sein, so wird CovFMatCovFMatCovFMatCovFMatcovFMatcov_fmat ebenfalls leer sein.

Der Konvertierungsoperator rel_pose_to_fundamental_matrixrel_pose_to_fundamental_matrixRelPoseToFundamentalMatrixRelPoseToFundamentalMatrixRelPoseToFundamentalMatrixrel_pose_to_fundamental_matrix wird besonders zur Visualisierung der Epipolarlinienstruktur mittels der Fundamental-Matrix verwendet, was die zu Grunde liegende Stereogeometrie verdeutlicht.

Ausführungsinformationen

Parameter

RelPoseRelPoseRelPoseRelPoserelPoserel_pose (input_control)  pose HPose, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Relative Orientierung der Kameras (3D-Lage).

CovRelPoseCovRelPoseCovRelPoseCovRelPosecovRelPosecov_rel_pose (input_control)  number-array HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

6x6 Kovarianzmatrix der relativen Orientierung.

Defaultwert: []

CamPar1CamPar1CamPar1CamPar1camPar1cam_par_1 (input_control)  campar HCamPar, HTupleSequence[Union[float, int, str]]HTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)

Parameter der 1. Kamera.

CamPar2CamPar2CamPar2CamPar2camPar2cam_par_2 (input_control)  campar HCamPar, HTupleSequence[Union[float, int, str]]HTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)

Parameter der 2. Kamera.

FMatrixFMatrixFMatrixFMatrixFMatrixfmatrix (output_control)  hom_mat2d HHomMat2D, HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Berechnete Fundamental-Matrix.

CovFMatCovFMatCovFMatCovFMatcovFMatcov_fmat (output_control)  real-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

9x9 Kovarianzmatrix der Fundamental-Matrix.

Vorgänger

vector_to_rel_posevector_to_rel_poseVectorToRelPoseVectorToRelPoseVectorToRelPosevector_to_rel_pose

Alternativen

essential_to_fundamental_matrixessential_to_fundamental_matrixEssentialToFundamentalMatrixEssentialToFundamentalMatrixEssentialToFundamentalMatrixessential_to_fundamental_matrix

Siehe auch

calibrate_camerascalibrate_camerasCalibrateCamerasCalibrateCamerasCalibrateCamerascalibrate_cameras

Modul

3D Metrology