Closed MeyerBender closed 3 months ago
Selecting with la like this does not remove the segmentation masks that should be unselected:
_ = img_full.pp.add_segmentation(img_full_mesmer._segmentation.values).pp[240:1700, 190:1640].pp['ki-67'].pp.filter([0.98]).pp.add_labels_from_dataframe(df_tmp).la['Cell type 1'].pl.colorize('cyan').pl.render_segmentation().pl.imshow()
This works with render_labels though:
_ = img_full.pp.add_segmentation(img_full_mesmer._segmentation.values).pp[240:1700, 190:1640].pp['ki-67'].pp.filter([0.98]).pp.add_labels_from_dataframe(df_tmp).la['Cell type 1'].pl.colorize('cyan').pl.render_labels().pl.imshow()
Selecting with la like this does not remove the segmentation masks that should be unselected:
This works with render_labels though: