One-click install
npx skills add https://github.com/Imad-Oute/ResearchForge --skill histolab-imad-oute
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: histolab
Source: https://github.com/Imad-Oute/ResearchForge/tree/main/OpenSource-Projects/claude-scientific-skills/scientific-skills/histolab
Command: npx skills add https://github.com/Imad-Oute/ResearchForge --skill histolab-imad-oute

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openslide-python, numpy, opencv-python, matplotlib, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill offers a comprehensive toolkit for automating tissue detection, tile extraction, and image processing in digital pathology slides.

Core Features & Use Cases

  • Slide Management: Load, inspect, and visualize whole slide images across formats like SVS, TIFF, NDPI.
  • Tissue Detection and Masking: Automatically identify tissue regions and filter out background and artifacts.
  • Tile Extraction: Systematically or randomly crop informative regions at various resolutions for analysis or model training.
  • Image Filtering & Preprocessing: Apply color space conversions, thresholding, morphological operations to enhance tissue segmentation.
  • Visualization: Generate overlays, tile previews, and reports to validate segmentation and extraction workflows.

Quick Start

Use this Skill to load a slide, detect tissue regions, preview tile locations, and extract tiles for downstream analysis.

Frequently Asked Questions about histolab

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

FAQPage Schema
How do I automatically detect tissue regions in whole slide images?

Automatic tissue detection in whole slide images is achieved by applying morphological filters, color space conversions, and thresholding to separate tissue from background artifacts. This generates precise masks that identify relevant regions for downstream analysis.

What is the best way to extract tiles from digital pathology slides for model training?

Extracting tiles from digital pathology slides is done by systematically or randomly cropping informative regions at various resolutions. This provides accurately cropped image patches ready for dataset curation and model training.

Does this digital pathology workflow support SVS and NDPI slide formats?

Yes, the digital pathology workflow supports loading, inspecting, and visualizing whole slide images across SVS, NDPI, and TIFF formats. It relies on OpenSlide to manage these proprietary formats reliably during tissue detection and tile extraction.

Do I need OpenSlide and OpenCV installed to run automatic tissue segmentation?

Yes, you need OpenSlide, OpenCV, and numpy installed to run automatic tissue segmentation. These Python libraries provide the core image loading, computer vision, and numerical array processing capabilities required for reliable tissue masking and tile extraction.

How do I validate tissue segmentation and tile extraction results?

You validate tissue segmentation and tile extraction results by generating visual overlays, tile previews, and reports. Using matplotlib, the workflow produces visualizations that confirm the accuracy of tissue masks and extracted tile locations on the original slides.

Can I apply image preprocessing filters to enhance tissue detection masks?

Yes, you can apply image preprocessing filters to enhance tissue detection masks. The workflow supports color space conversions, thresholding, and morphological operations to refine tissue segmentation and improve the accuracy of subsequent tile extraction.