Inferensys

Glossary

Whole Slide Image (WSI)

A high-resolution digital scan of an entire glass pathology slide, producing a gigapixel image file for computational analysis.
Cinematic shot of a sleek glass-walled boardroom on the 40th floor of a glass highrise, late afternoon light casting long shadows across a minimalist table with holographic AI workflow projections.
DIGITAL PATHOLOGY FUNDAMENTALS

What is Whole Slide Image (WSI)?

A Whole Slide Image (WSI) is a high-resolution digital replica of an entire glass pathology slide, creating a gigapixel file that enables computational analysis and remote diagnosis.

A Whole Slide Image (WSI) is a high-resolution digital scan of an entire glass pathology slide, produced by specialized scanners that capture the tissue sample at microscopic magnification, typically 20x or 40x. The resulting file is a multi-gigapixel, multi-resolution pyramidal image that preserves the complete histological detail of the original specimen, enabling pan-and-zoom viewing equivalent to a physical microscope.

WSIs serve as the foundational input for computational pathology pipelines, where deep learning models analyze the digitized tissue for tasks like cancer detection, Gleason grading, and biomarker quantification. The gigapixel scale necessitates specialized processing techniques such as patch extraction and Multiple Instance Learning (MIL) to manage the data volume and enable slide-level classification.

GIGAPIXEL PATHOLOGY

Key Characteristics of a WSI

A Whole Slide Image is not merely a large photograph; it is a multi-resolution, pyramidal data structure that encodes histological information at scales ranging from tissue architecture to nuclear morphology.

01

Gigapixel Scale & Data Volume

A single WSI routinely exceeds 100,000 x 100,000 pixels at 40x magnification, generating file sizes from 1 to 4 gigabytes per slide. This massive scale precludes direct input into standard convolutional neural networks and necessitates specialized patch-based processing and tiling strategies to manage memory constraints.

1-4 GB
Typical File Size
100k+
Pixels per Dimension
02

Multi-Resolution Pyramid Structure

WSI files are stored as pyramidal TIFFs containing multiple downsampled versions of the original image at different magnification levels. This structure mimics the pathologist's workflow:

  • Base level: Highest resolution (e.g., 40x or 20x) for nuclear detail.
  • Intermediate levels: For architectural context and glandular patterns.
  • Thumbnail level: Low-resolution overview for tissue orientation and navigation.
03

Tissue Segmentation & Foreground Detection

Before computational analysis, the tissue region must be separated from the glass background. This pre-processing step uses thresholding on pixel intensity in the HSV or LAB color space to generate a binary mask. Accurate segmentation eliminates wasted computation on empty white space, which can constitute over 70% of the slide area.

04

Patch-Based Processing Paradigm

Due to memory limitations, WSIs are decomposed into thousands of smaller patches (e.g., 256x256 or 512x512 pixels). Each patch is independently processed by a feature extractor, typically a Vision Transformer (ViT) or ResNet, to generate a feature embedding. These embeddings are then aggregated for slide-level classification using Multiple Instance Learning (MIL).

05

Metadata & Color Management

WSIs exhibit significant stain variability across laboratories due to differences in hematoxylin and eosin (H&E) protocols, scanner models, and reagent batches. Stain normalization techniques, such as Macenko or Vahadane methods, are critical pre-processing steps to standardize color distributions and ensure model generalizability across sites.

06

Interoperability & DICOM Standard

While many WSIs are stored in proprietary formats (e.g., Aperio SVS, Hamamatsu NDPI), the field is converging on DICOM Supplement 145 for pathology. This standard enables integration with hospital Picture Archiving and Communication Systems (PACS) and ensures consistent metadata handling for pixel spacing, objective power, and z-stack information.

WHOLE SLIDE IMAGING EXPLAINED

Frequently Asked Questions

Clear, technical answers to the most common questions about gigapixel digital pathology and computational analysis.

A Whole Slide Image (WSI) is a high-resolution digital replica of an entire glass pathology slide, captured by a specialized scanner to produce a single, navigable gigapixel image file. The process begins with a glass slide containing a thin tissue section, which is loaded into a slide scanner. The scanner uses a microscope objective lens and a precision motorized stage to systematically tile the slide, capturing thousands of individual high-magnification fields (typically at 20x or 40x, equivalent to 0.5 or 0.25 microns per pixel). These tiles are then digitally stitched together using software algorithms, often with focus stacking to ensure uniform sharpness across the entire tissue area. The resulting file, commonly stored in a pyramidal, multi-resolution format like OpenSlide or DICOM, allows a pathologist or algorithm to pan and zoom seamlessly, mimicking the experience of a physical microscope but with the added power of computational analysis.

COMPARATIVE ANALYSIS

WSI vs. Traditional Microscopy

A feature-by-feature comparison of digital whole slide imaging against conventional light microscopy for pathology workflows.

FeatureWhole Slide Image (WSI)Traditional MicroscopyHybrid Scanner

Image Resolution

Gigapixel (up to 100,000 × 100,000 px)

Optical (limited by objective lens)

Gigapixel with live optical overlay

Field of View

Entire tissue section at once

Single field per eyepiece position

Entire slide with region-of-interest zoom

Remote Consultation

Computational Analysis

Z-Stack / Multiplane

Up to 30 focal planes

Continuous manual focus

Up to 15 focal planes

Storage Medium

Digital file (0.5–5 GB per slide)

Physical glass slide

Digital file + physical slide

Slide Throughput

Up to 1,000 slides per 24 hours

60–80 slides per pathologist per day

Up to 400 slides per 24 hours

Standardization Across Sites

Initial Capital Cost

$150,000–$500,000 per scanner

$2,000–$10,000 per microscope

$80,000–$250,000 per scanner

Recurring Cost

Cloud storage ($0.02–$0.05/GB/month)

Slide archiving and maintenance

Storage + physical archiving

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.