extraction.core.functions.cell.volume

volume(cell_mask)[source]

Estimates the volume of the cell assuming it is an ellipsoid with the mask providing a cross-section through the median plane of the ellipsoid.

Parameters
cell_mask: 2d array

Segmentation mask for the cell

:rtype: :py:class:`float`