Convert points coordinates from camera screen to integer positions (pixels) of image.

1 vue (au cours des 30 derniers jours)
Teo Protoulis
Teo Protoulis le 1 Mai 2019
Commenté : Jan le 2 Mai 2019
I have to write a function which takes as inputs the size of the camera screen HxW, the size of the canvas MxN and the coordinates of the points with respect to the camera screen and returns as output the coordinates of the points with respect to the image canvas (pixels). My problem is that I really don’t know from where to start and any tip would be really appreciated.
  2 commentaires
Jan
Jan le 2 Mai 2019
This sounds like a job for interp1.
Start with writing the function line, which defines inputs and outputs. Explain clearly, what "the coordinates of the points with respect to the camera screen" means - in valid Matlab syntax.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur MATLAB Support Package for IP Cameras dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by