histolab

Installation
SKILL.md

Histolab

Overview

Histolab is a Python library for processing whole slide images (WSI) in digital pathology. It automates tissue detection, extracts informative tiles from gigapixel images, and prepares datasets for deep learning pipelines. The library handles multiple WSI formats, implements sophisticated tissue segmentation, and provides flexible tile extraction strategies.

Installation

Install OpenSlide system libraries first (OpenSlide download), then install histolab:

uv pip install histolab

For built-in TCGA sample slides via histolab.data, also install pooch:

uv pip install pooch
Installs
106
GitHub Stars
30.4K
First Seen
Jan 20, 2026
histolab — k-dense-ai/claude-scientific-skills