How to find the length of an object in an image?
3 views (last 30 days)
Show older comments
Hi,
I am new to image processing and I am looking for a way to find the length in cm of an object in an image. In particular, I am dealing with images of human body segments like feet, hands etc.
Thanks
1 Comment
Accepted Answer
Image Analyst
on 18 Nov 2014
You can use regionprops. See a Image Segmentation Tutorial demo in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862.
Also see VisionBib http://www.visionbib.com/bibliography/contents.html to find papers on body part segmentation.
2 Comments
Image Analyst
on 28 Nov 2014
It's all in pixels. To get into some other units you need to multiply by the spatial calibration factor. Measure something of known length, say 1 meter. Then see how many pixels it is. Divide the two and you have your factor. See attached demo.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!