World Coord to Camera Coord Conversion in Camera Calibration is Incorrect?

In camera calibration, to convert from world coord to camera coord, Matlab uses below:
  • (x,y,z)_camCoord = [X,Y,Z]_wldCoord*R + t
where R and t are rotationMatrix and translationVector of the output of "extrinsics". https://www.mathworks.com/help/vision/ref/extrinsics.html https://www.mathworks.com/help/vision/ug/camera-calibration.html
However, in openCV document, R and [X,Y,Z] are reversed:
  • (x,y,z)_camCoord = R*[X,Y,Z]_wldCoord + thttps://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html
Which one is correct?

Answers (0)

Asked:

on 2 Oct 2018

Edited:

on 2 Oct 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!