Clear Filters
Clear Filters

pointstoworld() function error

1 view (last 30 days)
Hesham Khalifa
Hesham Khalifa on 28 Jun 2018
Commented: Hesham Khalifa on 31 Jul 2018
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
Florian Morsch on 31 Jul 2018
Yes, you are correct there. The pixel coordinate 0 0 refers to the matrix element (1, 1).

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!