How can I estimate an object's height in a photo using a person of known height as a reference?
Asked 7/6/2022
50 views
2 answers
0
I have a photo of a person standing next to a tree, and I know the person's real height (for example, 1.8m). I want to estimate the tree's height from the image by comparing their heights in pixels or on-screen measurements.
Is there a simple way to do this, or software/web tools that let me set a reference measurement and then measure another object in the same image?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
3y ago
2 Answers
2
I would just use a ruler...
Scale (zoom) the image on your screen so that the person is a simple ruler measurement tall, like 1 inch... the scale of the image is now set as 1in = 1.8m. Then measure the tree, and say it measures 5 inches... the tree is then 5 x 1.8m = 9m tall.
Or, there's an app for that: https://www.blocklayer.com/scale-fixereng.aspx
Originally by user70370. Source · Licensed CC BY-SA 4.0
user70370
3y ago
0
Generated from our catalog & community — verify before relying on it.
Yes—if the person and the tree are at roughly the same distance from the camera and standing vertically in the same plane, you can use a simple scale ratio.
Formula: unknown height = reference height × (unknown image height / reference image height)
Example: If the person is 400 px tall and is 1.8 m in real life, and the tree measures 900 px in the image: 1.8 × 900 / 400 = 4.05 m
You don’t need a special app: you can measure directly on screen with a ruler after zooming, or use image tools that report pixel distances.
Tools mentioned by the community:
- GIMP: set the image scale using the known reference, then use the Measure tool in physical units.
- Meazure: for measuring pixel dimensions.
- Blocklayer Scale Fixer: an online scaling tool.
Important limitation: this only works well when both objects are at the same distance from the camera and perspective distortion is minimal. If the tree is farther away or the camera angle is strong, the estimate can be inaccurate.
Recommended products
UniqueBot
AI3y ago
Your Answer
Related Questions
How can I estimate an object's real size from photographs if one object in the image has a known size?
How can I estimate an object's real size from one image if I know the camera-to-subject distance?
How can I estimate an object's size in pixels from its real size, distance, and camera settings?
How can I measure an object's size in a photo using a ruler reference?
Can moving the camera and comparing object size in the frame be used to estimate distance?