I have whole slide images, in .svs format, that have be digitized with Leica aperio scan. Thanks to openslide package (https://openslide.org/), I figured out that those .svs files contain a lot of metadata, especially the 'Filename' that can contain patient-related information. I would like to anonymize completely those metadata, but after several days, I haven't been able to find a way to do so.
I tried :
- svs-deidentifier (https://pearcetm.github.io/svs-deidentifier/)
- anonymize-slide (https://github.com/bgilbert/anonymize-slide) Both of them work very well to remove label and thumbnail from the .svs file, but none of them modify the metadata.
So, I would like to know if it is possible to edit .svs metadata with openslide ? Or any other python package ? Or another third party software (Qupath, imageJ...) ? Please, could you let me know if you already had this issue ? And if you have any lead in order to adress this question ?
Someone from forum.image.sc gave me the answer to my issue (1) :
replace_filename('CMU-1.svs','de-identified name')
Kindly yours