make_voxels_array#

make_voxels_array(locations: list) ndarray[source]#

Convert list of locations to a segmentated image array.

Parameters:

locations – List of location dictionaries containing id and voxels.

Returns:

Segmentation array.