You will probably need something like this:
https://en.wikipedia.org/wiki/Circle_Hough_Transform
Your boundary points are just black pixels with at least one white 4-neighbor.
Unfortunately, you are saying that your ellipses may be “tilted”. Common ellipses are described by quadratic equations of type
x² + Ay² + Bxy + Cx + Dy + E = 0
with B² <4A (⇒ A> 0). This means that, compared to the circle problem, you do not have 3 dimensions, but 5. This leads to the fact that the Hough transform will be much more complicated. Fortunately, your example tells you that you don't need high resolution.
See also: circle detection algorithm in the image
EDIT
The above idea of the algorithm was too optimistic , at least if it is applied in a straightforward manner. The good news is that two smart guys (Yonghong Xie and Qiang Ji) have already done their homework for us:
https://www.ecse.rpi.edu/~cvrl/Publication/pdf/Xie2002.pdf
source share