cellcoloc.build_positive_cell_mask

cellcoloc.build_positive_cell_mask(cell_masks, summary_table)[source]

Create a label image containing only marker-positive cells.

The returned label image preserves the original cell labels for all cells classified as marker-positive in summary_table and sets every other voxel to zero.

Return type:

ndarray