get_mask_cuts_mask

get_mask_cuts_mask#

snake.toolkit.plotting.get_mask_cuts_mask(mask)[source]#

Get the optimal cut that expose maximum number of voxel in mask.

Parameters:

mask (ndarray[Any, dtype[_ScalarType_co]])

Return type:

tuple[int, …]