Measuring indentation in an object

2 visualizaciones (últimos 30 días)
subrajeet
subrajeet el 9 de En. de 2013
Dear Researchers,
How can I we measure how many indentation or foldings are present in the three objects presented below
Subrajeet

Respuestas (2)

Image Analyst
Image Analyst el 9 de En. de 2013
Use the convex hull, bwconvhull(). Subtract the original image from the convex hull and call bwlabel
indentsBinaryImage = bwconvhull(binaryImage) - binaryImage;
[labeledImage, numberOfIndents] = bwlabel(indentsBinaryImage);

Amith Kamath
Amith Kamath el 9 de En. de 2013
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!

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by