image thumbnail

Ellipsoid Fitting

version 1.0.0.0 (1.17 KB) by Q LI
Two matlab files to demonstrate how to fit an ellipsoid directly to a set of 3D points.

2.4K Downloads

Updated 20 Mar 2009

No License

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 (2021). Ellipsoid Fitting (https://www.mathworks.com/matlabcentral/fileexchange/23377-ellipsoid-fitting), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: RADIOMICS, hyperellipsoidfit

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!