TIAToolbox 0.4.0
Pre-release
Pre-release
Major and Feature Improvements
- Adds
OpenSlideWSIReaderto read Openslide image formats - Adds support to read Omnyx jp2 images using
OmnyxJP2WSIReader. - New feature added to perform stain normalisation using
Ruifork,Reinhard,Vahadane,Macenkomethods and using custom stain matrices. - Adds example notebook to read whole slide images via tiatoolbox.
- Adds
WSIMetaclass to save meta data for whole slide images.WSIMetacasts properties to python types. Properties from OpenSlide are returned as string. raw values can always be accessed viaslide.raw. Adds data validation e.g., checking that level_count matches up with the length of thelevel_dimensionsandlevel_downsamples. Adds type hints toWSIMeta. - Adds exceptions
FileNotSupportedandMethodNotSupported
Changes to API
- Restructures
WSIReaderas parent class to allow support to read whole slide images in other formats. - Adds
slide_infoas a property ofWSIReader - Updates
slide_infotype toWSIMetafromdict - Depreciates support for multiprocessing from within the toolbox. The toolbox is focused on processing single whole slide and standard images. External libraries can be used to run using multi processing on multiple files.
Bug Fixes and Other Changes
- Adds
scikit-learn,glymuras a dependency - Adds licence information
- Removes
pathosas a dependency - Updates
openslide-pythonrequirement to 1.1.2
Co-authored-by: Shan E Ahmed @shaneahmed, John Pocock @John-P, Simon Graham @simongraham, Dang Vu @vqdang, Srijay Deshpande @Srijay-lab, Saad Bashir @rajasaad