I wanna apply image processing method to find these defect.
13 views (last 30 days)
Show older comments
I have many image of same part.The aim is to find defected parts. For big defects, I can detect them. But for small defect such as shown in below images, I can't etect them. Do you have any idea that which should I implement and which variable I can consider to detect them?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1014240/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1014245/image.png)
1 Comment
Answers (2)
Parsa
on 8 Jun 2022
Edited: Parsa
on 8 Jun 2022
Hi Omid
It's a kind of crack detection problem. According to your question, you have many images of the same parts with different types of cracks. So, employing machine learning techniques could be a good solution, in order to detect the cracks automatically. Based on inspections and also your knowledge about the types and form of the defects, you can specify tiny ROIs around each crack. These defects are different in size and orientation, so you will have a good dataset of ROIs with different shape of cracks, which are training dataset for learning procedure. Here is a nice open access article about applying machine learning to detect cracks :
There is another solution comes to my mind. Specially for your images, it's obvious that if a crack exist, there will be a connection line between circles. It means that, at least, there is one non-circular feature in an image with the defect. So segmentation techniques could be employed. Please take a look at these links:
Although the same question has been asked before as in the links below, for the cases, craks are on a flat surface without special patterns. But your images have a circular pattern. Any way, these links also could be helpful :
3 Comments
Parsa
on 9 Jun 2022
Thanks for your comment,you're right. So most the blobs are in ellipse form,in different lengths and orientations, but there is at least one different feature or area, contains the defect.
Walter Roberson
on 9 Jun 2022
When I look at the second one, it is not clear to me that the cut goes all the way to join the two circles. I think the "area" of the cut might be less than the adjustment for perspective. It might be necessary to check the ferret distance or something similar, carefully checking for "hair"
Image Analyst
on 9 Jun 2022
Have you tried just subtracting the image from a perfect one? If they're not perfectly aligned you might have to call imregister first before subtracting.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!