One-click install
npx skills add https://github.com/shushuzn/Rairos --skill histolab-shushuzn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: histolab
Source: https://github.com/shushuzn/Rairos/tree/main/skills/histolab
Command: npx skills add https://github.com/shushuzn/Rairos --skill histolab-shushuzn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

HistoLab helps you turn gigapixel whole slide images into manageable, analysis-ready datasets by automatically detecting tissue, extracting informative tiles, and applying preprocessing filters.

Core Features & Use Cases

  • Whole-slide management: Load WSI files, inspect slide metadata, generate thumbnails, and work with pyramid levels.
  • Tissue detection & masking: Create tissue masks (or the bounding box of the largest tissue region) to exclude background and artifacts.
  • Tile extraction strategies: Random, grid, and score-based extraction for sampling, full coverage, or quality-driven dataset curation.
  • Preprocessing filters & composition: Chain image/morphological filters for robust tissue segmentation and tile conditioning.
  • Visualization & QA: Preview masks and tile locations, inspect extracted tiles, and generate reports for selection workflows.

Quick Start

Load a slide, create a tissue mask, preview tile locations, and extract tiles into your output directory using RandomTiler.

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 dataset preparation?

To extract tiles from whole slide images, load your WSI file, generate a tissue mask to exclude background, and apply random, grid, or score-based tiling strategies to output analysis-ready image tiles for model training.

What is tissue detection and masking in digital pathology preprocessing?

Tissue detection and masking in digital pathology identifies tissue regions on whole slide images to exclude background and artifacts, ensuring only informative areas are processed for tile extraction and downstream dataset preparation.

Can I apply preprocessing filters to extracted WSI tiles before model training?

Yes, you can apply preprocessing filters to extracted WSI tiles by chaining image and morphological filters to achieve robust tissue segmentation and condition tiles before tile-based model training workflows.

Does histolab support pyramidal levels for H&E slide tiling pipelines?

HistoLab supports pyramidal levels for H&E slide tiling pipelines, requiring a WSI slide loader with tilers that handle pyramidal levels, tissue filtering thresholds, and optional filter-based preprocessing.

What is the best way to sample informative regions from gigapixel pathology data?

The best way to sample informative regions from gigapixel pathology data is using score-based extraction strategies with tissue-aware masking, which enables quality-driven dataset curation by prioritizing tissue-rich tiles over background.

Why do I need tissue masks before extracting tiles from whole slide images?

Tissue masks are needed before extracting tiles from whole slide images to exclude background and artifacts, preventing empty tiles from polluting your dataset and reducing storage requirements during dataset preparation.