pointstoworld() function error

1 次查看(过去 30 天)
Hesham Khalifa
Hesham Khalifa 2018-6-28
I calibrated my camera then I wanted to measure the distance from the camera as given in the toolbox documentation which all went fine.
Now when I wanted to use the top left point in the image as a reference for further, I wanted to know its poistion in real world. How come I do not get an error when I set my imagePoints to [0 0] ? The image indexing starts with ones not zeros as far as I know ?
Or the imagePoints here do not refer to the coordinates of the point in the image ?
  8 个评论
Florian Morsch
Florian Morsch 2018-7-31
Yes, you are correct there. The pixel coordinate 0 0 refers to the matrix element (1, 1).

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by