OpenSlideOpenSlide is a C library for reading whole slide image files (also known as virtual slides). It provides a consistent and simple API for reading files from multiple vendors.FeaturesOpenSlide can read brightfield whole slide images in [several formats][]:* [Aperio][] (.svs, .tif) * [Hamamatsu][] (.ndpi, .vms, .vmu) * [Leica][] (.scn) * [MIRAX][] (.mrxs) * [Philips][] (.tiff) * [Sakura][] (.svslide) * [Trestle][]…
Source code on GitHub.
OpenSlide is a C library for reading whole slide image files (also known as virtual slides). It provides a consistent and simple API for reading files from multiple vendors.
OpenSlide can read brightfield whole slide images in [several formats][]:
* [Aperio][] (.svs, .tif)
* [Hamamatsu][] (.ndpi, .vms, .vmu)
* [Leica][] (.scn)
* [MIRAX][] (.mrxs)
* [Philips][] (.tiff)
* [Sakura][] (.svslide)
* [Trestle][] (.tif)
* [Ventana][] (.bif, .tif)
* [Generic tiled TIFF][] (.tif)
OpenSlide can also provide access to textual metadata, as well as associated images such as a slide label and thumbnail.
[several formats]: https://openslide.org/formats/ [Aperio]: https://openslide.org/formats/aperio/ [Hamamatsu]: https://openslide.org/formats/hamamatsu/ [Leica]: https://openslide.org/formats/leica/ [MIRAX]: https://openslide.org/formats/mirax/ [Philips]: https://openslide.org/formats/philips/ [Sakura]: https://openslide.org/formats/sakura/ [Trestle]: https://openslide.org/formats/trestle/ [Ventana]: https://openslide.org/formats/ventana/ [Generic tiled TIFF]: https://openslide.org/formats/generic-tiff/
The [API reference][API] is available on the web, and is also included as
doc/html/openslide_8h.html in the source tarball. [Additional
documentation][docs] is available on the [OpenSlide website][website].
[API]: https://openslide.org/api/openslide_8h.html [docs]: https://openslide.org/#documentation [website]: https://openslide.org/
OpenSlide is released under the terms of the GNU Lesser General Public License, version 2.1.
OpenSlide is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
To build OpenSlide, you will need:
Then:
``
meson setup builddir
meson compile -C builddir
meson install -C builddir
``
OpenSlide has been developed by Carnegie Mellon University and other contributors.
OpenSlide has been supported by the National Institutes of Health and the Clinical and Translational Science Institute at the University of Pittsburgh.