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

4 views (last 30 days)
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!

Answers (1)

Niklas Nylén
Niklas Nylén on 2 Jun 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!