Details about 3D ellipsoid fitting

The 3D ellipsoid fitting plugin will fit a 3D ellipsoid to objects in a labelled image.

The ellipsoid axes and radii are computed using 3D moments :

The three eigen values and vectors are then computed from this matrix :

sx2 sxy sxz
sxy sy2 syz
sxz syz sz2

The three radii are then : √(5*eigen value)

The different results are :

Object and fitted ellipsoid with main elongation axis

Object and fitted ellipsoid with main elongation axis

Bounding box and oriented bounding box

Bounding box and oriented bounding box