histolab

Automates whole slide image processing for digital pathology.

Updated May 17, 2026
One-click install
npx skills add https://github.com/galeep/plugin-place --skill histolab-galeep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: histolab
Source: https://github.com/galeep/plugin-place/tree/main/plugins/sci-medical-imaging/skills/histolab
Command: npx skills add https://github.com/galeep/plugin-place --skill histolab-galeep

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires histolab, pooch, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the processing of whole slide images (WSI) in digital pathology, streamlining tasks like tissue detection, tile extraction, and stain normalization.

Core Features & Use Cases

  • Tissue Detection: Automatically identify tissue regions and filter background artifacts.
  • Tile Extraction: Extract smaller regions from large WSI for analysis.
  • Stain Normalization: Standardize staining appearance across slides for deep learning.
  • Use Case: Imagine you have a collection of whole slide images from a tissue biopsy. Use this Skill to automatically extract informative tiles, normalize the staining, and prepare the data for deep learning analysis.

Quick Start

Use the histolab skill to extract tiles from the whole slide image 'biopsy.svs'.

Frequently Asked Questions about histolab

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract tiles from a whole slide image for digital pathology?

You can extract tiles from a whole slide image by automating tissue detection to filter background artifacts and then extracting smaller regions for deep learning analysis. This process prepares biopsy slides for downstream model training.

What is stain normalization and why is it needed for whole slide images?

Stain normalization standardizes staining appearance across whole slide images to ensure consistent visual features. It is needed to reduce color and intensity variations between slides, which is critical for preparing reliable training data for deep learning models.

Do I need OpenSlide to process whole slide images on macOS or Linux?

Yes, processing whole slide images requires OpenSlide system libraries installed on a Linux or macOS environment running Python 3.8–3.11. These system dependencies are necessary for the underlying library to read and parse WSI files.

Can I automatically detect tissue regions and filter background artifacts in whole slide images?

Automatic tissue detection identifies relevant tissue regions in whole slide images while filtering out background artifacts. This isolates the diagnostically relevant areas, ensuring that only informative tiles are extracted for subsequent analysis.

What is the best way to prepare whole slide image data for deep learning analysis?

The best way to prepare whole slide image data for deep learning is to automate tissue detection, extract informative tiles, and apply stain normalization. This pipeline standardizes large biopsy slides into structured, normalized tile datasets.