Convienent handling of annotated whole slide images
Project description
WSI_handling
Code for handling digital pathology pyramidal whole slide images (WSIs). Currently works with annotation XMLs from Aperio ImageScope or annotation json's from QuPath and image formats supported by Openslide.
Supports getting a tile from a WSI at the desired micron-per-pixel (mpp), getting either the whole WSI or an annotated region, generating a mask image for either a tile or the WSIs, and showing the location of a tile on the WSI.
Annotation format
XML annotations must follow the AperioImagescope format
With more or blocks for additional annotations.
json annotations must follow QuPath's json export format.
Installation
pip install WSI_handling
Usage
See https://github.com/pjl54/WSI_handling/blob/master/wsi_demo.ipynb
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for WSI_handling-0.14.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 385402cab884164faeb0c933cb61a21ac221d483a65a55055f8cd34e610c3fe1 |
|
MD5 | 43eb9b8f32b21ed0119033459599c171 |
|
BLAKE2b-256 | 290fbcfecc458041a9ddbe525e98b1a26b82be9c051bb6a4353407584c8e6e7b |