skimage2.draw.ellipsoid_stats#

skimage2.draw.ellipsoid_stats(a, b, c)[source]#

Calculate analytical volume and surface area of an ellipsoid.

The surface area of an ellipsoid is given by

\[S=4\pi b c R_G\!\left(1, \frac{a^2}{b^2}, \frac{a^2}{c^2}\right)\]

where \(R_G\) is Carlson’s completely symmetric elliptic integral of the second kind [1]. The latter is implemented as scipy.special.elliprg().

Parameters:
afloat

Length of semi-axis along x-axis.

bfloat

Length of semi-axis along y-axis.

cfloat

Length of semi-axis along z-axis.

Returns:
volfloat

Calculated volume of ellipsoid.

surffloat

Calculated surface area of ellipsoid.

References