Sample Data¶
GlassCut provides built-in access to public whole slide image samples for testing and
prototyping. Data is downloaded on demand via pooch and cached locally. This
functionality was adapted from the HistoLab implementation.
Sample Functions¶
Function |
Source |
Description |
|---|---|---|
Aperio |
Aorta tissue, JPEG 2000 |
|
TCGA-BRCA |
Breast carcinoma, H&E |
|
TCGA-BRCA |
Breast with green pen marks |
|
TCGA-BRCA |
Breast with red pen marks |
|
TCGA-BRCA |
Breast with black pen marks |
|
CMU |
MRXS small region (CC0) |
|
Aperio |
Heart tissue, JPEG 2000 |
|
IDR |
Breast cancer, IHC (CD3/CD20) |
|
IDR |
Kidney tissue, IHC (CD3/CD20) |
|
TCGA-OV |
Ovarian carcinoma |
|
TCGA-PRAD |
Prostate adenocarcinoma |
Usage¶
from glasscut.data import breast_tissue, cmu_small_region
slide, path = breast_tissue()
print(f"Loaded: {path}")
slide, path = cmu_small_region()
print(f"Loaded: {path}")