Ask Your Question

Revision history [back]

Detect "marbleesque" Surface Pattern

Hi folks, I'm trying to measure the ratio of dark to bright spots on these tubes. They start out dark and go from there to spotty, ending up white in the process and we want to guesstimate their current state.

image description

I tried feature matching but the results were not so good. Since I'm quite new to opencv I'm a little bit overwhelmed by the awesome number of choices concerning possible algorithms (k-nearest neighbor, haar-cascasdes, watershed, ...) so I would really appreciate if someone with more experience could point me in a promising direction on which methods to try first to identify the tubes in the image and then to measure the "spottiness".

Here is another picture without the pattern C:\fakepath\pattern2.jpg

Cheers, Andi