Why do the Stereo Camera position not correspond with the "TranslationofCamera2" values ?
조회 수: 6 (최근 30일)
이전 댓글 표시
The calibrator app calibrates the stereo camera and output the extrinsic visualization as follows:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166790/image.png)
Which is very close to my real setup. As you can see from the image. The second camera translation can be approximated at [50 -11 -2]. Whereas the value that shows in my StereoParams object is "stereoParams.TranslationOfCamera2 = [-51.45 0.68 9.81]". Why is there the negative in X axis and other values? This does not make sense. Could anyone help me with this?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166791/image.png)
댓글 수: 0
답변 (1개)
Sharan Paramasivam Murugesan
2017년 8월 23일
편집: Sharan Paramasivam Murugesan
2017년 8월 23일
The values that you are comparing are of different context in meaning and does not correspond to each other. The values you see in the figure are the co-ordinates of the selected point in camera 2. Where as, TranslationOfCamera2 is the translation of camera 2 relative to camera 1 in world units. The negative X value denotes the translation of camera 2 to the right of camera 1 (from the viewer's perspective).
Refer to the following documentation for the same info:
댓글 수: 2
Walter Roberson
2021년 4월 15일
which coordinate system is translationOfCamera2 defined?I think it should be defined in the camera1-based world coordinate system.
참고 항목
카테고리
Help Center 및 File Exchange에서 Camera Calibration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!