Calculate volume of largest and minimum ellipse around a segmentation

I think I managed to solve this issue.

What is missing is extracting the surface points from a segmentation mask. That could be extracted using the SimpleITK.LabelContour(img, fullyConnected=False).
Also the spacing information is missing, so the ellipsoid should be adjusted by placing it on the correct grid.
This can be achieved scikit-image.draw.ellipsoid https://scikit-image.org/docs/dev/api/skimage.draw.html#skimage.draw.ellipsoid.

Is it possible to propose adding this functionality to the official SimpleITK library?