ratiopath.tiling.read_slide_tiles
read_slide_tiles(batch)
Reads a batch of tiles from a whole-slide image using either OpenSlide or tifffile.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
batch
|
dict[str, Any]
|
|
required |
Returns:
Type | Description |
---|---|
dict[str, Any]
|
The input batch with an added |
Source code in ratiopath/tiling/read_slide_tiles.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
|