I wanna apply image processing method to find these defect.

조회 수: 17 (최근 30일)
Omid Safari
Omid Safari 2022년 5월 28일
답변: Image Analyst 2022년 6월 9일
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?
  댓글 수: 1
Walter Roberson
Walter Roberson 2022년 6월 9일
Could we get the original images for these, without the red circles?

댓글을 달려면 로그인하십시오.

답변 (2개)

Parsa 2022년 6월 8일
편집: Parsa 2022년 6월 8일
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
Parsa 2022년 6월 9일
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
Walter Roberson 2022년 6월 9일
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
Image Analyst 2022년 6월 9일
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.


Help CenterFile Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by