TIAToolbox 0.8.0
Pre-release
Pre-release
Major Updates and Feature Improvements
- Adds
SemanticSegmentorwhich is Predictor equivalent for semantic segmentation. - Add
TIFFWSIReaderclass to support OMETiff reading. - Adds
FeatureExtractorAPI to controller. - Adds WSI Serialization Dataset which support changing parallel workers on the fly. This would reduce the time spent to create new worker for every WSI/Tile (costly).
- Adds IOState data class to contain IO information for loading input to model and assembling model output back to WSI/Tile.
- Minor updates for
get_coordinatesto pave the way for getting patch IO for segmentation. - Migrates old code to new variable names (patch extraction, patch wsi model).
- Change in API from
pretrained_weighttopretrained_weights. - Adds cli for semantic segmentation.
- Update python notebooks to add
read_rectandread_boundsexamples withmppread.
Changes to API
- Adds
WSIReader.open.get_wsireaderwill deprecate in the next release. Please useWSIReader.openinstead. - CLI is now POSIX compatible
- Replaces underscores in variable names with hyphens
- Models API updated to use
pretrained_weightsinstead ofpretrained_weight. - Move string_to_tuple to tiatoolbox/utils/misc.py
Bug Fixes and Other Changes
- Fixes README git clone instructions.
- Fixes stain normalisation due to changes in sklearn.
- Fixes a test in tests/test_slide_info
- Fixes readthedocs documentation issues
Development related changes
- Adds dependencies for tiffile, imagecodecs, zarr.
- Adds more stringent pre-commit checks
- Moved local test files into
tiatoolbox/data. - Fixed
Manifest.iniand addedtiatoolbox/data. This means that this directory will be downloaded with the package. - Using
pkg_resourcesto properly load bundled resources (e.g.target_image.png) intiatoolbox.data. - Removed duplicate code in
conftest.pyfor downloading remote files. This is now intiatoolbox.data._fetch_remote_file. - Fixes errors raised by new flake8 rules.
- Remove leading underscores from fixtures.
- Rename some remote sample files to make more sense.
- Moves all cli commands/options from cli.py to cli_commands to make it clean and easier to add new commands
- Removes redundant tests
- Updates to new GitHub organisation name in the repo
- Fixes related links