When using the Computer Vision Toolbox and the "stereoParameters" object how do I transform points in camera 1 coordinates to camera 2 coordinates?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 26 Aug. 2019
Beantwortet: MathWorks Support Team
am 27 Jan. 2020
When using the Computer Vision Toolbox and the "stereoParameters" object how do I transform points in camera 1 coordinates to camera 2 coordinates?
Akzeptierte Antwort
MathWorks Support Team
am 26 Aug. 2019
The equation to go from camera 1 coordinates to camera 2 coordinates is:
R = stereoParameters.RotationOfCamera2;
t = stereoParameters.TranslationOfCamera2;
xyzNew = [x,y,z] *R + t;
Assuming you are using the "estimateCameraParameters()" function to construct the "stereoParameters" object, you can inspect the source code for the construction of "stereoParameters" by typing in the MATLAB command window:
>> edit estimateCameraParameters.m
And then clicking the link on the line error to open the source code.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Camera Calibration finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!