histolab

Process whole slide images and extract tissue tiles for deep learning datasets.

Updated Jan 10, 2026
One-click install
npx skills add https://github.com/robinbarvaag/poynt --skill histolab-robinbarvaag
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: histolab
Source: https://github.com/robinbarvaag/poynt/tree/main/.github/skills/histolab
Command: npx skills add https://github.com/robinbarvaag/poynt --skill histolab-robinbarvaag

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the complex and time-consuming process of analyzing whole slide images (WSIs) in digital pathology, enabling efficient computational pathology workflows.

Core Features & Use Cases

  • Whole Slide Image Processing: Load, manage, and process gigapixel pathology slides.
  • Tissue Segmentation & Tiling: Automatically detect tissue regions, extract informative tiles, and create datasets for deep learning.
  • Use Case: A researcher needs to build a dataset for training a cancer detection model. This Skill can automatically extract thousands of high-quality tissue tiles from hundreds of WSIs, saving weeks of manual work.

Quick Start

Use the histolab skill to extract 100 random 512x512 pixel tiles from the slide 'patient_001.svs' and save them to the 'output/tiles' directory.

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 whole slide images for a deep learning dataset?

You can extract tiles from whole slide images by using automated tissue detection and random, grid, or score-based tile extraction. This process automatically identifies informative tissue regions and saves high-quality tiles to prepare datasets for computational pathology deep learning pipelines.

What whole slide image formats are supported for digital pathology processing?

Digital pathology processing supports SVS, TIFF, and NDPI whole slide image formats. The toolkit can load, manage, and process these various file types to handle gigapixel pathology slides for both H&E and IHC stained tissue images.

Can I use this for tissue segmentation on H&E and IHC stained slides?

Yes, tissue segmentation is fully supported for both H&E and IHC stained tissue images. The toolkit automatically detects tissue regions within whole slide images, enabling you to isolate relevant areas before extracting tiles for your computational pathology workflows.

What is the best way to automate tile extraction across hundreds of pathology slides?

The best way to automate tile extraction across hundreds of pathology slides is to use automated slide management combined with random, grid, or score-based extraction algorithms. This approach extracts thousands of high-quality tissue tiles, saving weeks of manual work.

Does whole slide image processing require manual tissue region selection?

No, whole slide image processing does not require manual tissue region selection. The toolkit uses automated tissue detection and segmentation algorithms to identify informative tissue regions, automatically filtering out background areas during the tile extraction process.

Are there limitations when processing gigapixel whole slide images for computational pathology?

Processing gigapixel whole slide images requires sufficient computational resources to handle large SVS, TIFF, and NDPI files. While the toolkit provides slide management and image filtering to optimize the workflow, hardware constraints may impact the speed of tissue segmentation and tile extraction.