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

4 ビュー (過去 30 日間)
Emmanuel
Emmanuel 2014 年 6 月 2 日
回答済み: Niklas Nylén 2014 年 6 月 2 日
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!

回答 (1 件)

Niklas Nylén
Niklas Nylén 2014 年 6 月 2 日
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