surface from_maskΒΆ
Usage
Run using mc_script surface from_mask after installation or using ~ndcn0236/bin/mc_script surface from_mask on jalapeno.
Import in python using from mcutils.scripts.surface import from_mask
Documentation
Creates a surface covering the mask
Uses the scikit-image marching cubes algorithm
The resulting surface will follow the edge of the mask exactly and hence look very jagged. You might want to run mc_script surface smooth afterwards to get a nicer looking surface.
Functions
|
Generates the mesh based on the tumour mask |
CLI interface
|
Creates the parser of the command line arguments |
|
Runs the script based on a Namespace containing the command line arguments |