Measuring indentation in an object
1 次查看(过去 30 天)
显示 更早的评论
Dear Researchers,
How can I we measure how many indentation or foldings are present in the three objects presented below
Subrajeet
0 个评论
回答(2 个)
Image Analyst
2013-1-9
Use the convex hull, bwconvhull(). Subtract the original image from the convex hull and call bwlabel
indentsBinaryImage = bwconvhull(binaryImage) - binaryImage;
[labeledImage, numberOfIndents] = bwlabel(indentsBinaryImage);
0 个评论
Amith Kamath
2013-1-9
http://blogs.mathworks.com/steve/2011/10/04/binary-image-convex-hull-algorithm-notes/ and the convex hull concept would help. I suppose you need to isolate each blob using http://www.mathworks.com/help/images/ref/bwconncomp.html and then find it's convex hull, and then the number of black blobs inside the convex hull will give you the number of folds. Hope this helps!
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!