Reputation: 296
I have an image of a glossy surface:
My goal is to detect anomalies on that image. The same image with marked anomalies I show you here:
As we can see from images above, anomalies have bad contrast (or at least not the best), and they are also changing from image to image by their shape, contrast, orientation...
I was trying to increase anomalies contrast by using tophat filtering. The result is here:
Now I anomalies are much more visible on the image, I want to segment them out from the image. The aim is to binarize image and use connectedComponents function to calculate areas, dimensions, positions of anomalies...
What kind of segmentation do you suggest? What would be the best way to binarize image? Should I even use tophat filtering to increase anomalies contrast or should I try to segment anomalies directly from first image?
Upvotes: 0
Views: 853
Reputation: 3408
You can:
or
An increasingly popular approach is to train a deep neural network using lots of images of anomalies and then using the network to identify them.
Upvotes: 1