LazySlide: Accessible and interoperable whole slide image analysis

Contents

LazySlide: Accessible and interoperable whole slide image analysis#

LazySlide is a Python framework for whole slide image (WSI) analysis, designed to integrate seamlessly with the scverse ecosystem.

By adopting standardized data structures and APIs familiar to the single-cell and genomics community, LazySlide enables intuitive, interoperable, and reproducible workflows for histological analysis. It supports a range of tasks from basic preprocessing to advanced deep learning applications, facilitating the integration of histopathology into modern computational biology.

Key features#

  • Interoperability: Built on top of SpatialData, ensuring compatibility with scverse tools like Scanpy, Anndata, and Squidpy. Check out WSIData for more details.

  • Accessibility: User-friendly APIs that cater to both beginners and experts in digital pathology.

  • Scalability: Efficient handling of large WSIs, enabling high-throughput analyses.

  • Multimodal integration: Combine histological data with transcriptomics, genomics (omics data), and textual annotation.

  • Foundation model support: Native integration with state-of-the-art models (e.g., UNI, CONCH, Gigapath, Virchow) for tasks like zero-shot learning and captioning.

  • Deep learning ready: Provides PyTorch dataloaders for seamless integration into machine learning pipelines.

Whether you’re a novice in digital pathology or an expert computational biologist, LazySlide provides a scalable and modular foundation to accelerate AI-driven discovery in tissue biology and pathology.

https://github.com/rendeirolab/LazySlide/raw/main/assets/Figure.png

New to digital pathology?

Learn the essential concepts and complete your first whole-slide analysis.

Getting started
Analyze your first slide

Go from a slide file to tissue regions, tiles, features, and a saved result.

Analyze your first slide
Find a specific answer

Short recipes for installation, preprocessing, models, annotations, scaling, and troubleshooting.

How-To guides
Quick lookup

Look up workflows, generated keys, file formats, readers, and APIs.

Lookup guides
Installation

How to install LazySlide

Installation
Tutorials

Get started with LazySlide

Tutorials
Model Zoo

Available models in LazySlide

Model Zoo
API Reference

API reference in LazySlide

API Reference
Concepts

Understand resolution, the data model, models, and the LazySlide workflow

Concepts
Contributing

Contribute to Lazyslide

Contributing
Contributors

The team behind LazySlide

Contributors