This project provides a Python wrapper for the EMPAIA WSI Anon C library, enabling the anonymization of Whole Slide Imaging (WSI) data. The library supports various WSI formats and offers functionalities to anonymize and retrieve metadata from WSI files.
- Anonymize WSI files by modifying metadata.
- Retrieve metadata from WSI files.
- Support for multiple WSI formats including SVS, NDPI, and more.
Directly from GitHub:
python -m pip install --upgrade 'git+https://github.com/luciorq/wsianon.git'
import wsianon
# Anonymize a WSI file
wsianon.anonymize_wsi("path/to/input.svs|ndpi|mrsx", new_label_name="anonymized_wsi")
This project is based on the EMPAIA WSI Anon C library. Special thanks to the contributors of the original project.
For development instructions, refer to the documentation docs/DEVELOPMENT.md.