how to identify the cracks from the image
9 views (last 30 days)
Show older comments

3 Comments
Answers (2)
Image Analyst
on 26 Aug 2018
Try something like a bottom hat filter, imbothat(), then threshold and use regionprops() to thrown out blobs that are vertical. If a slanted crack touches a vertical crack, then you'll have to split them apart with something like watershed.
10 Comments
Image Analyst
on 27 Aug 2018
Edited: Image Analyst
on 28 Aug 2018
I understand. You're main goal is "trying to develop an algorithm" (programming) rather than material science. Like developing the algorithm is a main part of your Masters thesis or Ph.D. dissertation. So you don't want to buy, or have someone give you, the algorithm because you need to develop it yourself, for your degree. Good luck. Perhaps what I gave you might be a good start.
Preetham Manjunatha
on 7 Jan 2025
Edited: Preetham Manjunatha
on 16 May 2025
The image looks quite intricate with regular structures like lines. As @Image Analyst mentioned morphological methods might help to mitigate the non-cracks entities. Here is the MATLAB Crack segmentation and Crack width, length and area estimation codes to calculate/estimate the crack area, width and length. Please try with the morphological crack detection method to get started with. Gradient-based crack segmentation methods can pick the lines heavily in comparision to the morohological approach. 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 Comments
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!