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
646
GitHub Stars
29.4K
First Seen
Apr 9, 2026
histolab — k-dense-ai/scientific-agent-skills