SlideIO
SlideIO is an open-source library for reading medical images, with a C++ API and a Python module, and a free desktop viewer built on it.
It reads whole slides as well as any region of a slide. Large slides can be scaled to a smaller size efficiently, because the library reads from the zoom pyramid stored in the image. SlideIO supports 2D slides as well as 3D data sets and time series. The Python module delivers a raster as a numpy array, compatible with OpenCV.
Components
- SlideIO for Python
pip install slideio. The module most users want: open a slide, read regions as numpy arrays, inspect metadata.- SlideIO C++ library
Build SlideIO into your own application. Prebuilt packages for Windows, macOS and Linux, consumed with CMake
find_package.- SlideIO Viewer
A desktop application for Windows, macOS and Linux that renders a whole slide with GPU-accelerated panning and zooming. No code to write.
- Command line tools
slideio-converterandslideio-tiffinspector, shipped with every library package.
Components describes each one and how they fit together.
Supported formats
SlideIO reads 16 formats, among them Aperio SVS, Zeiss CZI, Hamamatsu NDPI, 3DHISTECH MIRAX, Roche Ventana BIF, Philips TIFF, Leica SCN and LIF, Nikon ND2, Olympus VSI, OME-TIFF and DICOM whole slide images. See Supported formats for the full list.
SlideIO Viewer
Slides can also be opened without writing any code. SlideIO Viewer renders a whole slide with GPU-accelerated panning and zooming, and shows its scenes, channels, associated images and metadata.