Ellipsoid Fitting

Two matlab files to demonstrate how to fit an ellipsoid directly to a set of 3D points.

You are now following this Submission

The code implemented a special case of the ellipsoid fitting technique proposed in the paper Least Squares Ellipsoid Specific Fitting, corresponding to case k= 4. Just put the two files in the same directory and run "testFit4". You can change the noise level to observe the fitting accuracy and efficiency of the algorithm. It works well when the underlying shape characterized by the data points is quite spherical. However, if this is not the case, some modification is required. For the technical detail of the fitting method, please refer to the above mentioned paper, which can be found from the following webpage:
http://www2.computer.org/portal/web/csdl/doi?doc=abs/proceedings/gmp/2004/2078/00/20780335abs.htm

Cite As

Q LI (2026). Ellipsoid Fitting (https://uk.mathworks.com/matlabcentral/fileexchange/23377-ellipsoid-fitting), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: RADIOMICS, hyperellipsoidfit

Categories

Find more on Geoscience in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0