Skip to content

NKI-AI/openslide

 
 

Repository files navigation

OpenSlide

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.

Features

OpenSlide can read brightfield whole slide images in several formats:

OpenSlide can also provide access to textual metadata, as well as associated images such as a slide label and thumbnail.

Documentation

The API reference is available on the web, and is also included as doc/html/openslide_8h.html in the source tarball. Additional documentation is available on the OpenSlide website.

License

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.

Compiling

To build OpenSlide, you will need:

  • Meson
  • zlib
  • libpng
  • libjpeg
  • libtiff ≥ 4.0
  • OpenJPEG ≥ 2.1
  • GDK-PixBuf
  • libxml2
  • SQLite ≥ 3.14
  • cairo ≥ 1.2
  • glib ≥ 2.56

Then:

meson setup builddir
meson compile -C builddir
meson install -C builddir

Acknowledgements

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.

About

C library for reading virtual slide images

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 86.8%
  • Python 10.1%
  • Meson 1.6%
  • Other 1.5%