简体   繁体   中英

How to measure an object's real size on the image?

I have a picture of a melanoma. I need to calculate its real size (eg mm^2). Any ideas how to this? Or, how many pixels are in 1 mm^2?

You need to know the distance from the camera to the object, the focal length of the lens, and the pixel spacing of the imaging sensor (or the size of the sensor in both mm and pixels). Or you could put a calibration measure (such as a ruler) next to the object at the same distance.

If you don't have those, a lady bug and an elephant could take up the exact same number of pixels, so the answer could be almost anything.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM