https://github.com/cornish/anonymize-slide-python3-gui
Delete the label image to deidentify a whole-slide image (WSI) with an optional GUI
https://github.com/cornish/anonymize-slide-python3-gui
deidentification digital-pathology digitalpathology imaging microscopy pathology whole-slide-imaging wholeslideimaging
Last synced: about 2 months ago
JSON representation
Delete the label image to deidentify a whole-slide image (WSI) with an optional GUI
- Host: GitHub
- URL: https://github.com/cornish/anonymize-slide-python3-gui
- Owner: cornish
- License: gpl-2.0
- Created: 2021-11-01T13:12:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-05T21:46:49.000Z (over 4 years ago)
- Last Synced: 2024-03-17T07:39:49.722Z (about 2 years ago)
- Topics: deidentification, digital-pathology, digitalpathology, imaging, microscopy, pathology, whole-slide-imaging, wholeslideimaging
- Language: Python
- Homepage:
- Size: 33.2 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
anonymize-slide-python3-gui
===========================
This adds a very simple GUI interface to [Benjamin Gilbert's anonymize-slide](https://github.com/bgilbert/anonymize-slide) program which I previously [updated to run under python3](https://github.com/cornish/anonymize-slide-python3). The CLI functions still work as before (see usage examples below), however if no CLI arguments are supplied, the GUI is launched.
**Please note that the updated python3 code has not been tested with MRXS files**
This is a program to remove the slide label from whole-slide images in the
following formats:
* Aperio SVS
* Hamamatsu NDPI
* 3DHISTECH MRXS
Slide files are modified **in place**, making this program both fast and
potentially destructive. Do not run it on your only copy of a slide.
[Download](https://github.com/cornish/anonymize-slide-python3-gui/releases)
Examples
--------
Launch the GUI (supply no arguments):
anonymize-slide-gui.py
Delete the label from `slide.mrxs`:
anonymize-slide-gui.py slide.mrxs
Delete the label from all NDPI files in the current directory:
anonymize-slide-gui.py *.ndpi
Requirements
------------
* Python 3.0+
Development Roadmap
-------------------
1. Replace the simple messagebox-based GUI with a proper GUI
2. Possibly refactor the project and merge with the [non-GUI version](https://github.com/cornish/anonymize-slide-python3)
License
-------
This program is distributed under the [GNU General Public License, version
2](LICENSE).
No Warranty
-----------
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the [license](COPYING) for more
details.