-
-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Tiler's area of extraction is wrong, i.e. the biggest tissue box coordinates (W,H) are inverted (H,W)
To Reproduce
Steps to reproduce the behavior:
from histolab.data import prostate_tissue
from histolab.slide import Slide
from histolab.tiler import GridTiler
f, path = prostate_tissue()
prostate_slide = Slide(path, 'proc')
grid_tiles_extractor = GridTiler(
tile_size=(400, 200),
level=0,
check_tissue=False,
pixel_overlap=0, # default
prefix="grid/",
suffix=".png"
grid_tiles_extractor.locate_tiles(prostate_slide)Software (please complete the following information):
- OS: macOS
- Python Version: 3.8
Additional context
It has to do with: https://stackoverflow.com/questions/49084846/why-different-size-when-converting-pil-image-to-numpy-array
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working