How to find the length of an object in an image?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Image Analyst
2014-11-18
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 个评论
Image Analyst
2014-11-28
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!