I am working on segmenting the platter from hard disks at various angles (my data set comprises ~250 grayscale images and I would need this to work for each of those). I've attempted using the hough transform to detect this (it operates on the edge image) -->MATLAB code and related blog post linked here:
but unfortunately that oftentimes does not detect it at all or detects it incorrectly.
I've played around with the parameters but aside from using the entire search space of points in the function linked above to detect the ellipse, which greatly increases computation time, I cannot see any other way to do this (and even then it is not robust).
Is there any other way to achieve this segmentation using image processing algorithms or would I have to resort to supervised learning?
Suggestions welcome!