GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - HautaniemiLab/histolytics: Interpretable Analysis of Histological WSIs

BranchesTags
Open more actions menu

Latest commit

 

History

284 Commits
284 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills
.agents/skills
 
 
.github
.github
 
 
docs
docs
 
 
imgs
imgs
 
 
src/histolytics
src/histolytics
 
 
tests
tests
 
 
tools
tools
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.python-version
.python-version
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
mkdocs.yml
mkdocs.yml
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

Logo

A Python library for scalable panoptic spatial analysis of histological WSIs

Github Test License Python - Version Package - Version Model Checkpoints

Introduction

histolytics is a spatial analysis library for histological whole slide images (WSI). Built upon torch, geopandas and libpysal, the library provides a comprehensive and scalable framework for panoptic segmentation and interpretable panoptic spatial analysis of routine histopathology slides.

Panoptic Segmentation Features

  • Fast WSI-level panoptic segmentation. See example.
  • Low memory-footprint segmentation results with __geo_interface__-specification.
  • Multiple vectorized segmentation output formats (geojson/feather/parquet).
  • Several panoptic segmentation model architectures for histological WSIs with flexible backbone support: See example
  • Pre-trained models in model-hub. See: histolytics-hub

Spatial Analysis Features

  • Fast Spatial Querying of WSI-scale panoptic segmentation maps. See example
  • Spatial indexing/partitioning for localized spatial statistics and analysis. See example
  • Graph-based neighborhood analysis for local cell neighborhoods. See example
  • Plotting utilities for spatial data visualization. See example
  • Spatial clustering and cluster centrography metrics. See example
  • Large set of morphological, intensity, chromatin distribution, and textural features at nuclear level. See example
  • Large set of collagen fiber and intensity based features to characterize stroma and ECM. See example

Example Workflows

  • Immuno-oncology Profiling:
    • Spatial Statistics of TILs.
    • Profiling TLS and Lymphoid Aggregates.
  • Nuclear Pleomorphism:
    • Nuclear Morphology Analysis.
    • Nuclear Chromatin Distribution Analysis.
  • TME Characterization:
    • Collagen Fiber Disorder Analysis.
    • Characterization of Desmoplastic Stroma.
  • Nuclei Neighborhoods:
    • Tumor Cell Accessibility.

Installation

pip install 'histolytics[all]'               # Recommended full installation (Linux)
pip install histolytics                      # CPU spatial/image analysis
pip install 'histolytics[segmentation]'       # Models and segmentation workflows
pip install 'histolytics[cucim]'              # Retained cuCIM WSI backend (Linux)
pip install 'histolytics[cuda-analysis]'      # Existing CUDA analysis (Linux)

These groups apply to Histolytics 0.3.0 and later. Histolytics 0.2.5 retains its previous installation requirements. Existing model users must select segmentation or all; to retain all prior capabilities on Linux, install histolytics[all]. See the installation guide for source installation, reader prerequisites, and CPU Torch setup.

Models

  • Panoptic HoVer-Net
  • Panoptic Cellpose
  • Panoptic Stardist
  • Panoptic CellVit-SAM
  • Panoptic CPP-Net

Contributing

We welcome contributions! To get started:

  1. Fork the repository and create your branch from main.
  2. Make your changes with clear commit messages.
  3. Ensure all tests pass and add new tests as needed.
  4. Submit a pull request describing your changes.

See contributing guide for detailed guidelines.

Citation

If you use histolytics in your research, please cite:

Lehtonen, O., Nordlund, N., Salloum, S., Kalliala, I., Virtanen, A., & Hautaniemi, S. (2025). Histolytics: A panoptic spatial analysis framework for interpretable histopathology. Computational and Structural Biotechnology Journal, 27, 5135–5147. https://doi.org/10.1016/j.csbj.2025.11.022

@article{2025histolytics,
  title={{Histolytics}: A panoptic spatial analysis framework for interpretable histopathology},
  author={Lehtonen, Oskari and Nordlund, Niko and Salloum, Shams and Kalliala, Ilkka and Virtanen, Anni and Hautaniemi, Sampsa},
  journal={Computational and Structural Biotechnology Journal},
  volume={27},
  pages={5135--5147},
  year={2025},
  doi={10.1016/j.csbj.2025.11.022},
  url={https://doi.org/10.1016/j.csbj.2025.11.022},
  publisher={Elsevier}
}

About

Interpretable Analysis of Histological WSIs

hautaniemilab.github.io/histolytics/

Topics

deep-learningdigital-pathologypanoptic-segmentationspatial-analysiswsiwsi-images

Resources

Readme
BSD-3-Clause license

Contributing

Contributing
Activity
Custom properties

Stars

23 stars

Watchers

3 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.