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

1 visualización (últimos 30 días)
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 comentarios
Jan
Jan el 2 de Mayo de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre MATLAB Support Package for IP Cameras en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by