extraction.core.functions.cell.spherical_volume

spherical_volume(cell_mask)[source]

Estimate the volume of the cell.

Assumes the cell is a sphere with the mask providing a cross-section through its median plane.

Parameters
cell_mask: 2d array

Segmentation mask for the cell