Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastianffx/stainlib
Python 3 library for the augmentation & normalization of H&E images
https://github.com/sebastianffx/stainlib
computational-pathology histopathology image-augmentation image-normalization image-processing pathology
Last synced: about 1 month ago
JSON representation
Python 3 library for the augmentation & normalization of H&E images
- Host: GitHub
- URL: https://github.com/sebastianffx/stainlib
- Owner: sebastianffx
- License: mit
- Created: 2020-11-17T14:08:14.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-12T14:58:42.000Z (over 2 years ago)
- Last Synced: 2024-10-22T09:49:19.918Z (2 months ago)
- Topics: computational-pathology, histopathology, image-augmentation, image-normalization, image-processing, pathology
- Language: Jupyter Notebook
- Homepage:
- Size: 9.91 MB
- Stars: 51
- Watchers: 3
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-pathology - stainlib - Augmentation & normalization of H&E images. (Software / Model)
README
# stainlib
![Currently implemented methods in stainlib](https://drive.google.com/uc?id=1By4Nw3X0sgwxamF0qN3TqiL-B1q2qZqQ)
The objective with this repository is to provide an easy to use python 3 library that includes
the most commonly used methods for color augmentation and normalisation of histopathology images, having as input local image regions stained with H&E.## Pre-requisites and Installation
The library was developed and tested in a python 3.8 conda environment. The following packages are required:
- scikit-image
- scipy
- pillow
- opencv-python
- spamsYou can find a complete list of the packages installed when developed the library under utils/enviroment.yml
For installing the library you can do it with pip:
pip install -e stainlib/
## Examples
You can find examples for using stainlib in the jupyter notebooks stainlib_augmentation.ipynb and stainlib_normalization.ipynb
# Research
If this repository has helped you in your research we would value to be acknowledged in your publication.# Acknowledgement
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 825292. This project is better known as the ExaMode project. The objectives of the ExaMode project are:
1. Weakly-supervised knowledge discovery for exascale medical data.
2. Develop extreme scale analytic tools for heterogeneous exascale multimodal and multimedia data.
3. Healthcare & industry decision-making adoption of extreme-scale analysis and prediction tools.For more information on the ExaMode project, please visit www.examode.eu.
![enter image description here](https://www.examode.eu/wp-content/uploads/2018/11/horizon.jpg) ![enter image description here](https://www.examode.eu/wp-content/uploads/2018/11/flag_yellow.png)