Fitting a circle/ellipse over an image

I really think this is the best way forward. This way you won’t need any edge/ridge detection, you just work with the image directly. Although I’d recommend some lower cutoff, where any pixel values lower than some percentile should be discarded.