Closed
Conversation
* New API for tiling, WholeSlideImage * Added basic tests, drafted new API * Use pre-commit fixes, adding pydantic to dev req * Added tox * Implemented CI with Github Actions (Closes #8) * New CLI interface for tiling (Closes #3) Co-authored-by: Leonardo Romor <leonardo.romor@gmail.com> Co-authored-by: Mensel123 <43986008+Mensel123@users.noreply.github.com> Co-authored-by: Francesco Dal Canton <francidalca@gmail.com>
- Bugfix to improper int casting which was sometimes breaking the read_region method. - Improved read_region() docstring. - Added related testcase.
Update Docker - Make resulting docker smaller - Install pixman and cairo from scratch - Compile pytorch and torchvision specifically for dlup
* Update documentation - Added warning to installation.rst that pixman 0.40 or higher is required. * Update documentation - Added line about virtual environment, move pixman warning up. * Update documentation - Added information about openslide versions.
* Improved SlideImage initialization exception messages. * Convert tiling tool to new Dataset class * Improve mypy and pylint parsing * Create Dataset class that reads from tiles * Updated docstrings * Few CI fixes * Removed previous glue code to ease development and introduce caching. (#29) * Removed TiledRegionView class, replaced with a leaner Lattice class that serves as interface to generate a lattice. * Added LRU cache on top of the dataset, to reduce memory requirements. * Bump version: 0.2.0-dev0 → 0.2.0-dev3 Co-authored-by: Leonardo Romor <leonardo.romor@gmail.com>
* Remove pytorch dependency (Closes #18) * Add possibility to check if pytorch is available
- Added support for an extra parameter during Grid() creation to specify a global offset for every coordinate. - Improved naming and docstring
Use multiprocessing for tile extraction
* Refactored dataset class * Added TiledROIsSlideDataset class to allow flexible tiling, at different mpps for different ROIs. * Added more parameters to returned dictionary to backtrack original grid of a tile. * Remove joblib * Added dataset example to documentation https://docs.aiforoncology.nl/dlup/dataset_examples.html Co-authored-by: Jonas Teuwen <j.teuwen@nki.nl>
…turn rgba pil in SlideImageDataset, return rgb pil for thumbnail (#43) Consistently output RGBA PIL Images for DLUP datasets (closes #43) * Return RGBA PIL Images for DLUP Datasets * Return RGBA PIL Images for SlideImage.thumbnail * Add TypedDicts to specify the returned objects of each dataset class * Generally improve typing and docstrings
Allow saving the masks in cli tool
* Added FileNotFoundError to from_file_path() * Raised FileNotFoundError while reading WSI.
* Add example shell tool to tile entire directory of wsis * Update documentation
* Added experimental multiscale dataset * Add out-of-region reading and pad with zeros
* Add z_index to geojson properties when importing and exporting * Fix annotation crop for Polygons in read_region and test_annotations * Created new AnnotatedGeometry, adhere to shapely dunder and functions * Add helper function to utils and Enum for Darwin/ASAP annotation types * Add darwin_annotation_type to color look up and move Darwin util function to utils * Bugfix for WsiAnnotations.filter function
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
Contributor
PR overviewThis PR implements three new backends. These new backends are an abstract class To use the
Changes
Notes
Please let me know what you think of these new features and any potential changes you would like to see! |
moerlemans
reviewed
Sep 11, 2024
| from dlup.backends.common import AbstractSlideBackend | ||
|
|
||
|
|
||
| class RemoteSlideBackend(AbstractSlideBackend): |
Contributor
There was a problem hiding this comment.
I have no idea what this is haha. Maybe some docs could help :)
- Add DLUP XML output - Rewrite setup to use meson-py --------- Co-authored-by: Bart de Rooij <33282665+BPdeRooij@users.noreply.github.com> Co-authored-by: Jonas Teuwen <j.teuwen@.nki.nl> Co-authored-by: JorenB <jorenb@gmail.com>
- Use dynamic loading for annotation reading and writing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add remote backends