pathml

Unify image loading, preprocessing, graph construction, and ML analysis for computational pathology.

21|1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/OwnLabAI/ownlab --skill pathml-ownlabai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pathml
Source: https://github.com/OwnLabAI/ownlab/tree/main/mart/skills/scientific-skills/pathml
Command: npx skills add https://github.com/OwnLabAI/ownlab --skill pathml-ownlabai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PathML unifies loading, preprocessing, graph construction, and ML-driven analysis to automate complex computational pathology workflows, reducing manual steps and error-prone processes.

Core Features & Use Cases

  • Image loading across 160+ slide formats and modalities (H&E, CODEX, Vectra, MERFISH).
  • Modular preprocessing pipelines with stain normalization, tissue/nucleus detection, and QC transforms.
  • Spatial graph construction and analysis for cell and tissue interactions.
  • Pre-built nuclei models (HoVer-Net, HACTNet) with end-to-end training workflows.
  • Multiparametric imaging support and marker quantification workflows.
  • Robust data management with HDF5 storage, dataset versioning, and batch processing.

Quick Start

Install PathML, load a sample slide, and run a minimal preprocessing plus nucleus analysis pipeline.

Frequently Asked Questions about pathml

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

FAQPage Schema
How do I automate computational pathology workflows for whole-slide images?

Computational pathology workflows can be automated by unifying image loading, preprocessing, graph construction, and ML-based analysis into a single pipeline. This supports whole-slide images across H&E, CODEX, Vectra, and MERFISH datasets from raw image to spatial analytics.

What is the best way to preprocess multiparametric imaging data for machine learning?

Preprocessing multiparametric imaging data for machine learning is best handled through modular pipelines offering stain normalization, tissue and nucleus detection, and QC transforms. This ensures reproducible data preparation before model training.

Can I use PyTorch models for nucleus detection in whole-slide images?

Yes, you can use PyTorch models for nucleus detection in whole-slide images. Pre-built nuclei models like HoVer-Net and HACTNet are supported with end-to-end training workflows for analyzing tissue and cellular structures.

Does this approach support spatial graph construction for cell interaction analysis?

Spatial graph construction for cell interaction analysis is fully supported. The pipeline builds spatial graphs from preprocessed images to analyze cell and tissue interactions, enabling advanced spatial analytics across multiple imaging modalities.

How do I manage large pathology datasets for distributed batch processing?

Managing large pathology datasets for distributed batch processing is achieved using HDF5 storage, dataset versioning, and Dask distributed processing. This combination delivers reproducible and scalable pipelines for high-volume image analysis.

What slide formats are supported for computational pathology image loading?

Computational pathology image loading supports over 160 slide formats and modalities. This includes standard H&E datasets as well as multiparametric imaging formats like CODEX, Vectra, and MERFISH for comprehensive workflow integration.