alterlab-histolab

Automates whole-slide image tiling and preprocessing for deep learning datasets.

58|9|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-histolab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alterlab-histolab
Source: https://github.com/AlterLab-IEU/AlterLab-Academic-Skills/tree/main/skills/bioinformatics/alterlab-histolab
Command: npx skills add https://github.com/AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-histolab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Histolab speeds up digital pathology workflows by automating tile extraction and preprocessing of whole-slide images, reducing manual tiling effort and enabling scalable dataset preparation.

Core Features & Use Cases

  • Automates tissue detection, tile extraction (RandomTiler, GridTiler, ScoreTiler)
  • Supports preprocessing via image/morphological filters and masks for robust tile selection
  • Provides visualization, reporting, and workflow templates for training data, whole-slide analysis, and quality control
  • Typical use cases include rapid dataset curation for deep learning, reproducible slide analyses, and tissue characterization across cohorts.

Quick Start

Load a slide, choose a tiler (RandomTiler, GridTiler, or ScoreTiler), and run tile extraction to generate tiles and a report.

Frequently Asked Questions about alterlab-histolab

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

FAQPage Schema
How do I automate whole-slide image tiling for deep learning dataset preparation?

Whole-slide image tiling automates tissue detection, tile extraction, and normalization to generate ready-to-use datasets for deep learning in pathology. You load a slide, choose a tiler like GridTiler, and run extraction to produce tiles and a report.

What is the best way to extract tissue masks from whole-slide images?

Tissue mask extraction uses image and morphological filters to enable robust tile selection during whole-slide image preprocessing. This process isolates relevant tissue areas, discarding background artifacts before feeding tiles into deep learning models.

Can I use RandomTiler, GridTiler, or ScoreTiler for pathology slide analysis?

Yes, RandomTiler, GridTiler, and ScoreTiler are supported tiling methods for pathology slide analysis. RandomTiler selects random patches, GridTiler extracts uniform grids, and ScoreTiler ranks tiles by tissue content for targeted dataset curation.

Does this approach support preprocessing filters for tissue characterization across cohorts?

Yes, preprocessing filters and tissue masks are supported to ensure robust tile selection for tissue characterization across cohorts. These filters standardize whole-slide analysis and maintain reproducibility across different pathology slides.

What are the limitations of manual tiling versus automated whole-slide image preprocessing?

Manual tiling limits scalability and reproducibility compared to automated whole-slide image preprocessing. Automated preprocessing handles tissue detection, tile extraction, and normalization end-to-end, significantly reducing manual effort for large pathology cohorts.