Skip to main content
WSI Metadata Properties Module. This module defines the schema and container for metadata extracted from Whole Slide Images (WSI). It provides a unified structure for handling physical, optical, and structural properties across different scanner vendors and file formats.

WSIProps

Whole Slide Image (WSI) properties container. This class stores essential metadata required for WSI processing pipelines. It supports attribute access and dictionary-style key-based lookup with an automated fallback to raw vendor metadata.
WSIDims
Full slide width and height.
WSIBounds
The tissue-containing region of the slide.
int | None
The number of resolution levels in the pyramid.
MPP | None
Microns per pixel in the X dimension.
MPP | None
Microns per pixel in the Y dimension.
Magnification | None
The magnification power of the objective lens.
str | None
The name of the scanner vendor or backend.
Path
The filesystem path to the slide file.
dict[str, Any] | None
A dictionary containing all unprocessed metadata from the slide.
Example: