run

Import in python using from mcot.core._scripts.surface.from_mask import run

mcot.core._scripts.surface.from_mask.run(img)[source]

Generates the mesh based on the tumour mask

uses the marching cube algorithm from scikit-image

Parameters:img – mask that is non-zero in the lesion
Returns:new surface