|
| 1 | +# OpenSlide Python |
| 2 | + |
| 3 | +OpenSlide Python is a Python interface to the OpenSlide library. |
| 4 | + |
| 5 | +[OpenSlide] is a C library that provides a simple interface for reading |
| 6 | +whole-slide images, also known as virtual slides, which are high-resolution |
| 7 | +images used in digital pathology. These images can occupy tens of gigabytes |
| 8 | +when uncompressed, and so cannot be easily read using standard tools or |
| 9 | +libraries, which are designed for images that can be comfortably |
| 10 | +uncompressed into RAM. Whole-slide images are typically multi-resolution; |
| 11 | +OpenSlide allows reading a small amount of image data at the resolution |
| 12 | +closest to a desired zoom level. |
| 13 | + |
| 14 | +OpenSlide can read virtual slides in several formats: |
| 15 | + |
| 16 | +* [Aperio][]: (`.svs`, `.tif`) |
| 17 | +* [Hamamatsu][]: (`.ndpi`, `.vms`, `.vmu`) |
| 18 | +* [Leica][]: (`.scn`) |
| 19 | +* [MIRAX][]: (`.mrxs`) |
| 20 | +* [Philips][]: (`.tiff`) |
| 21 | +* [Sakura][]: (`.svslide`) |
| 22 | +* [Trestle][]: (`.tif`) |
| 23 | +* [Ventana][]: (`.bif`, `.tif`) |
| 24 | +* [Generic tiled TIFF][]: (`.tif`) |
| 25 | + |
| 26 | +[OpenSlide]: https://openslide.org/ |
| 27 | +[Aperio]: https://openslide.org/formats/aperio/ |
| 28 | +[Hamamatsu]: https://openslide.org/formats/hamamatsu/ |
| 29 | +[Leica]: https://openslide.org/formats/leica/ |
| 30 | +[MIRAX]: https://openslide.org/formats/mirax/ |
| 31 | +[Philips]: https://openslide.org/formats/philips/ |
| 32 | +[Sakura]: https://openslide.org/formats/sakura/ |
| 33 | +[Trestle]: https://openslide.org/formats/trestle/ |
| 34 | +[Ventana]: https://openslide.org/formats/ventana/ |
| 35 | +[Generic tiled TIFF]: https://openslide.org/formats/generic-tiff/ |
| 36 | + |
| 37 | + |
| 38 | +## Requirements |
| 39 | + |
| 40 | +* Python ≥ 3.6 |
| 41 | +* OpenSlide ≥ 3.4.0 |
| 42 | +* Pillow |
| 43 | + |
| 44 | + |
| 45 | +## Installation |
| 46 | + |
| 47 | +OpenSlide Python requires [OpenSlide]. For instructions on installing both |
| 48 | +components so OpenSlide Python can find OpenSlide, see the package |
| 49 | +[documentation][installing]. |
| 50 | + |
| 51 | +[installing]: https://openslide.org/api/python/#installing |
| 52 | + |
| 53 | + |
| 54 | +## More Information |
| 55 | + |
| 56 | +- [API documentation](https://openslide.org/api/python/) |
| 57 | +- [Changelog](https://raw.github.com/openslide/openslide-python/main/CHANGELOG.txt) |
| 58 | +- [Website][OpenSlide] |
| 59 | +- [GitHub](https://github.com/openslide/openslide-python) |
| 60 | +- [Sample data](http://openslide.cs.cmu.edu/download/openslide-testdata/) |
| 61 | + |
| 62 | + |
| 63 | +## License |
| 64 | + |
| 65 | +OpenSlide Python is released under the terms of the [GNU Lesser General |
| 66 | +Public License, version 2.1](https://raw.github.com/openslide/openslide-python/main/lgpl-2.1.txt). |
0 commit comments