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