Is it possible to calculate the height of an object in an image by processing its shadow?
4 views (last 30 days)
Show older comments
Navya Mohan
on 24 Feb 2017
Commented: Navya Mohan
on 27 Feb 2017
An object is placed in the source light, which is at an angle wrt to object. Object's shadow is cast and the scene is captured by a camera.In that case is it possible to calculate the height of the object by processing the shadow of the object in the image with MATLAB?
0 Comments
Accepted Answer
Walter Roberson
on 24 Feb 2017
If the angle of the light source is known, then dividing the length of the shadow by tan() of the angle will give the height of the object in the same units as the length of the shadow is in.
If the angle of the light source is not known, then No, the shadow does not provide enough information in itself.
Also, you would need an absolute measure somewhere if you want absolute results.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!