pathml

Extract nuclei and cellular features from whole-slide pathology images.

52|6|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/ovachiever/droid-tings --skill pathml-ovachiever
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pathml
Source: https://github.com/ovachiever/droid-tings/tree/main/skills/pathml
Command: npx skills add https://github.com/ovachiever/droid-tings --skill pathml-ovachiever

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pathml, and includes references (resource) components.

What problem does it solve?

PathML provides a comprehensive toolkit for computational pathology, enabling automated loading, preprocessing, graph construction, and model deployment on whole-slide pathology images and multiparametric imaging data. It reduces manual, error-prone steps in digital pathology analyses and accelerates throughput from raw slides to ML-ready insights.

Core Features & Use Cases

  • Loading and preprocessing WSIs across 160+ formats
  • Nucleus detection, tissue masks, and stain normalization
  • Graph construction for spatial cellular interactions
  • Training and deploying ML models (HoVer-Net, HACTNet) on pathology data
  • Analyzing multiplex imaging (CODEX, Vectra) and spatial proteomics
  • Data management with efficient HDF5 storage

Use cases include large-scale slide analysis, spatial omics workflows, and training pathology ML pipelines on diverse datasets.

Quick Start

Install PathML and follow the quick start to load a WSI, apply a preprocessing pipeline, and explore downstream tasks like nucleus detection and graph construction. Example task: load a WSIs, run a tissue detection transform, and stitch tile outputs into a graph for downstream GNN analysis.

Frequently Asked Questions about pathml

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

FAQPage Schema
How do I extract nuclei and cellular features from whole-slide pathology images?

PathML automates nucleus detection and segmentation across 160+ WSI formats, applying stain normalization and feature extraction pipelines to generate analysis-ready cellular data from H&E slides and multiplex imaging modalities like CODEX and Vectra.

Can PathML handle different pathology image formats and multiparametric imaging data?

Yes, PathML loads and preprocesses WSIs across 160+ formats and supports multiparametric imaging including H&E, CODEX, Vectra, and MERFISH, enabling unified workflows across diverse histopathology and spatial proteomics datasets.

How do I build graph representations of cellular interactions from pathology images?

PathML constructs cell and tissue graphs from detected nuclei, capturing spatial relationships for downstream graph neural network analysis and enabling quantification of cellular neighborhoods and tissue architecture.

What machine learning models does PathML support for pathology image analysis?

PathML integrates PyTorch-based models including HoVer-Net and HACTNet for nucleus detection, plus ONNX inference for deployment, enabling both model training on pathology datasets and scalable inference on large slide collections.

How do I manage and store large-scale pathology datasets efficiently?

PathML uses HDF5 storage for efficient management of preprocessed pathology data, tile-based loading for memory-scalable WSI processing, and structured output formats supporting large-scale slide analysis and downstream ML pipelines.

What preprocessing steps does PathML perform on raw pathology images?

PathML applies stain normalization, tissue mask generation, tile-based loading, and feature extraction as preprocessing transforms, standardizing diverse slide images into ML-ready formats for model training and analysis.