Closed rimadoma closed 6 years ago
This is caused by the fact that the "yuryPetrov" ellipsoid fitting used in BoneJ does not guarantee that the result is an ellipsoid. In fact, it just solves the quadric that best fits the points. It may be any quadric: such as a cone, hyperboloid or a set of parallel planes.
You can determine the type of quadric from the eigenvalues of the quadric, or the the values on the diagonal of the matrix. If a, b, c are all positive, it's an ellipsoid(). Thus after calling the method, you should check if it's an ellipsoid, and display an error if it's not.
Also these are not really issues, but it could be worth mentioning in the comments that: 1) eigen vectors may form a left-handed basis. 2) The inverse of the design matrix being solved is most often a pseudoinverse matrix.
The Results table shows "Radius 1" as "NaN" when point ROIs are close on the xy-plane.
Steps to reproduce: