Skip to content

luciorq/wsianon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wsianon: Whole Slide Images Anonymization Library

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.

Main Features

  • Anonymize WSI files by modifying metadata.
  • Retrieve metadata from WSI files.
  • Support for multiple WSI formats including SVS, NDPI, and more.

How to install

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")

Acknowledgements

This project is based on the EMPAIA WSI Anon C library. Special thanks to the contributors of the original project.

Development

For development instructions, refer to the documentation docs/DEVELOPMENT.md.