/anonymize-slide

Delete the label from a whole-slide image

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

anonymize-slide

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

Examples

Delete the label from slide.mrxs:

anonymize-slide.py slide.mrxs

Delete the label from all NDPI files in the current directory:

anonymize-slide.py *.ndpi

Requirements

  • Python 2.6 or 2.7

License

This program is distributed under the GNU General Public License, version 2.

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 for more details.