No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Ellipsoid Fitting

1.0
1.0 | 2 ratings Rate this file 13 Downloads (last 30 days) File Size: 1.17 KB File ID: #23377 Version: 1.0
image thumbnail

Ellipsoid Fitting

by

Q LI (view profile)

 

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

| Watch this File

File Information
Description

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

Acknowledgements

This file inspired Radiomics and Hyperellipsoidfit.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
11 Mar 2014 Jean-Yves Tinevez

The code cannot be used in a general manner.

21 Dec 2011 Toni

Toni (view profile)

Why is the size of the points in the testfit (11,6)?

Should it not be 11,3 for xyz?

what is the meaning here?

Comment only
17 Oct 2011 Vladimir

29 Apr 2009 chuk Zhu

where I check your test, I find the values of the major, medium and short radius from the equation u^3 - I*u^2 + J * u - K = 0 have some problems...

Here I = a + b + c
J = ab+bc+ac-f^2 - g^2 - h^2
K = |a h g; h b f; g f c|;

from "least squares ellipsoid specific fitting" GMP-04

Comment only

Contact us