pointstoworld() function error

3 visualizzazioni (ultimi 30 giorni)
Hesham Khalifa
Hesham Khalifa il 28 Giu 2018
Commentato: Hesham Khalifa il 31 Lug 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 Commenti
Florian Morsch
Florian Morsch il 31 Lug 2018
Yes, you are correct there. The pixel coordinate 0 0 refers to the matrix element (1, 1).
Hesham Khalifa
Hesham Khalifa il 31 Lug 2018
Thanks !

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by