How to calculate this crack from this image
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dio Donaika
le 27 Août 2012
Modifié(e) : Preetham Manjunatha
le 16 Mai 2025
How to calculate crack from this image, i have picture ceramic and i want to calculate from this image, there are any defect from this image you can see this below
you can see, there are cracks in the image defects how can I calculate the length of cracks in the image. I have to ask where else confused please help
0 commentaires
Réponse acceptée
Image Analyst
le 6 Sep 2012
You might want to skeletonize with the bwmorph() function. Then all you will have are the centerlines of the cracks.
binaryImage = bwmorph(binaryImage, 'skel', inf');
Then call regionprops and ask for the area which will be the length of the cracks in pixels.
measurements = regionprops(binaryImage, 'Area');
6 commentaires
Image Analyst
le 6 Sep 2012
That can all be done by examining the measurements returned by regionprops(). Have you studied my image segmentation tutorial yet, where it does that kind of stuff? http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Plus de réponses (2)
Walter Roberson
le 27 Août 2012
How does this question differ from your existing question at http://www.mathworks.co.uk/matlabcentral/answers/41089-crack-detection ?
5 commentaires
Image Analyst
le 27 Août 2012
They seem the same to me. Walter or I can delete this question later today and you can follow up on your prior thread. But it looks like your professors are not letting you use any code given to you by senior developers (like me) - that's what it seemed like you said - so I guess we're at the point where you need to take over.
Preetham Manjunatha
le 19 Déc 2024
Modifié(e) : Preetham Manjunatha
le 16 Mai 2025
Here is the MATLAB Crack segmentation and Crack width, length and area estimation codes to calculate/estimate the crack area, width and length. In addition, this package assumes the crack is segmented either using morphological method or multiscale gradient-based or deep learning semantic segmentation methods. This package estimates the crack area, width and length (pixel scale can be provided to estimate these physical quantities). Lastly, the semantic segmentation and object detection metrics for the cracks can be found using Cracks binary class bounding box and segmentation metrics package.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!