histolab

Automate whole-slide image preprocessing and tile extraction for digital pathology workflows.

1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/SciMate-AI/scicli --skill histolab-scimate-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: histolab
Source: https://github.com/SciMate-AI/scicli/tree/main/internal/skills/bundled/claude-scientific-skills/skills/histolab
Command: npx skills add https://github.com/SciMate-AI/scicli --skill histolab-scimate-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Histolab streamlines digital pathology by automating tissue detection, tile extraction, and preprocessing on whole-slide images, reducing manual workload and enabling reproducible ML-ready datasets.

Core Features & Use Cases

  • Automates slide management, masking, and tile extraction for digital pathology
  • Supports RandomTiler, GridTiler, and ScoreTiler for flexible sampling and analysis
  • Enables visualization, QC, and dataset curation for machine learning in pathology

Quick Start

Load a sample slide and run RandomTiler to extract 100 tiles at 512x512 on level 0.

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 deep learning training?

To extract tiles from whole-slide images for deep learning, you can automate tissue detection and tile sampling using RandomTiler, GridTiler, or ScoreTiler to generate reproducible ML-ready datasets with quality control.

What is the best way to automate tissue masking on pathology slides?

Automating tissue masking on pathology slides is best handled by applying TissueMask or BiggestTissueBoxMask to whole-slide images, isolating relevant tissue regions before tile extraction to reduce manual workload.

Can I sample specific tile sizes and extraction levels from WSI files?

You can sample specific tile sizes and extraction levels from WSI files by configuring tilers like RandomTiler to extract custom dimensions, such as 512x512 tiles at level 0, streamlining preprocessing.

Does automated tile extraction support quality control for digital pathology workflows?

Automated tile extraction supports quality control for digital pathology workflows by providing Python-based visualization utilities and dataset curation features to evaluate tissue masks and sampled tiles.

Why use ScoreTiler instead of GridTiler for whole-slide image preprocessing?

Use ScoreTiler instead of GridTiler for whole-slide image preprocessing when you need to prioritize and sample tiles based on tissue content quality, rather than simply extracting a uniform grid pattern across the slide.

What are the limitations of automated tile extraction for large slide collections?

Limitations of automated tile extraction for large slide collections include processing time constraints and the necessity of accurate tissue masking, as incorrect masks can lead to extracting irrelevant background tiles.