pointstoworld() function error
1 view (last 30 days)
Show older comments
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 Comments
Florian Morsch
on 31 Jul 2018
Yes, you are correct there. The pixel coordinate 0 0 refers to the matrix element (1, 1).
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!