How many cm is 1pixel for a screen resolution of "640x360"

6 visualizaciones (últimos 30 días)
Emmanuel
Emmanuel el 2 de Jun. de 2014
Respondida: Niklas Nylén el 2 de Jun. de 2014
I would like to measure and verify the real-time distance of an object with my code. the co-ordinates returned are in pixels and I am aware that pixels to cm conversion varies from one resolution to another. My screen resolution is "640x360"..how many pixels will make 1 cm in this case? Please help!
Thank you!

Respuestas (1)

Niklas Nylén
Niklas Nylén el 2 de Jun. de 2014
That depends on the size of your screen. If your screen is 20 cm wide, each pixel will be 20/640 = 0.125 cm wide.

Community Treasure Hunt

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

Start Hunting!

Translated by