Crops and exports slide images
(Uses the OpenSlide library)
- Aperio (.svs, .tif)
- Hamamatsu (.ndpi, .vms, .vmu)
- Leica (.scn)
- MIRAX (.mrxs)
- Philips (.tiff)
- Sakura (.svslide)
- Trestle (.tif)
- Ventana (.bif, .tif)
- Generic tiled TIFF (.tif)
This script was created in python 3 with the following dependencies:
- OpenSlide (https://openslide.org)
- OpenCV2 (https://opencv.org)
- Numpy
- python crop.py [filename] [extension]
- drag to select area for export
- press ENTER(RETURN) to export image
- press ESC to close application