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!