Skip to content

Conversation

@John-P
Copy link
Contributor

@John-P John-P commented Oct 29, 2021

Add classes which can generate zoomify tiles from a WSIReader object.

Example

from tiatoolbox.wsicore.wsireader import WSReader
from tiatoolbox.tool.pyramid import ZoomifyGenerator

wsi = WSReader.open("slide.svs")
zoomify_gen = ZoomifyGenerator(wsi)   # Defaults to 256x256 tiles
tile = zoomify_gen.get_tile(0, 0, 0)  # PIL Image

@shaneahmed shaneahmed added the enhancement New feature or request label Oct 31, 2021
@codecov
Copy link

codecov bot commented Nov 9, 2021

Codecov Report

Merging #182 (9b2e515) into develop (d98e091) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #182      +/-   ##
===========================================
+ Coverage    99.77%   99.78%   +0.01%     
===========================================
  Files           45       46       +1     
  Lines         3572     3780     +208     
  Branches       577      621      +44     
===========================================
+ Hits          3564     3772     +208     
  Misses           2        2              
  Partials         6        6              
Impacted Files Coverage Δ
tiatoolbox/tools/pyramid.py 100.00% <100.00%> (ø)
tiatoolbox/utils/image.py 100.00% <100.00%> (ø)
tiatoolbox/utils/transforms.py 100.00% <100.00%> (ø)
tiatoolbox/wsicore/wsireader.py 99.31% <100.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d98e091...9b2e515. Read the comment docs.

Copy link
Member

@shaneahmed shaneahmed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @John-P

@shaneahmed shaneahmed merged commit 333e20b into develop Nov 22, 2021
@shaneahmed shaneahmed deleted the feature-zoomify branch November 22, 2021 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants