3

I'm using openslide-python to read whole slide images in the Philips format. I am trying to anonymize the data by removing the label associated image by deleting/replacing this:
slide.associated_images["label"]
However it raises:
TypeError: '_AssociatedImageMap' object does not support item assignment
I know this is because Openslide is a reading not writing library, however I can't find a solution to remove the labels for Philips format.

  • Have you tried this python script that removes slide labels from images using openslide-python? https://github.com/bgilbert/anonymize-slide – gota Nov 24 '21 at 14:19
  • 1
    Did you manage to accomplish this task? – gota Nov 24 '21 at 14:19

0 Answers0