Skip to content
Snippets Groups Projects
Unverified Commit d55aef2a authored by NBouteldja's avatar NBouteldja Committed by GitHub
Browse files

Update README.md

parent d76fa0bd
No related branches found
No related tags found
No related merge requests found
# KidneyStainTranslation # KidneyStainTranslation
This repository provides a framework to train CycleGAN- and U-GAT-IT-based translators for unsupervised stain-to-stain translation in histology. It builds upon this [CycleGAN repository](https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix). <br> STAIN TRANSLATION: This repository provides a framework to train CycleGAN- and U-GAT-IT-based translators for unsupervised stain-to-stain translation in histology. It builds upon this [CycleGAN repository](https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix). <br>
An exemplary translation from the aSMA to PAS stain in kidney tissue is provided below and its applicability by a prior segmentation model is shown by comparison with the ground-truth. The employed segmentation model is from this [paper](https://jasn.asnjournals.org/content/32/1/52.abstract) and its code repo can be found [here](https://github.com/NBouteldja/KidneySegmentation_Histology). In summary, its based on the [U-net architecture](https://arxiv.org/pdf/1505.04597.pdf) and was trained to segment several renal structures including tubulus (colorful), glomerulus ![#00ff00](https://via.placeholder.com/15/00ff00/000000?text=+), glomerular tuft ![#0000ff](https://via.placeholder.com/15/0000ff/000000?text=+), vein (including renal pelvis) ![#00ffff](https://via.placeholder.com/15/00ffff/000000?text=+), artery ![#ff00ff](https://via.placeholder.com/15/ff00ff/000000?text=+), and arterial lumen ![#ffff00](https://via.placeholder.com/15/ffff00/000000?text=+) from kidney histopathology data. An exemplary translation from the aSMA to PAS stain in kidney tissue is provided below and its applicability by a prior segmentation model is shown by comparison with the ground-truth. The employed segmentation model is from this [paper](https://jasn.asnjournals.org/content/32/1/52.abstract) and its code repo can be found [here](https://github.com/NBouteldja/KidneySegmentation_Histology). In summary, its based on the [U-net architecture](https://arxiv.org/pdf/1505.04597.pdf) and was trained to segment several renal structures including tubulus (colorful), glomerulus ![#00ff00](https://via.placeholder.com/15/00ff00/000000?text=+), glomerular tuft ![#0000ff](https://via.placeholder.com/15/0000ff/000000?text=+), vein (including renal pelvis) ![#00ffff](https://via.placeholder.com/15/00ffff/000000?text=+), artery ![#ff00ff](https://via.placeholder.com/15/ff00ff/000000?text=+), and arterial lumen ![#ffff00](https://via.placeholder.com/15/ffff00/000000?text=+) from kidney histopathology data.<br>
Note:<br>
STAIN AUGMENTATION: You can use your trained translators to augment an annotated data set and retrain the supervised model. We applied this to our previously published CNN ([source code](https://github.com/NBouteldja/KidneyStainTranslation)) for kidney structure segmentation on PAS-stained tissue to make it stain independent. <br>
IMAGE REGISTRATION: You can also perform image registration between consecutive WSIs of different stains for stain-independent segmentation. We used the [ANHIR challenge winning registration method](https://arxiv.org/abs/2106.13150) from Fraunhofer Mevis. Please request access [there](https://www.mevis.fraunhofer.de/en/employees/johannes-lotz.html).
<br> <br>
| Input aSMA image | Fake PAS translation | | Input aSMA image | Fake PAS translation |
|:--:|:--:| |:--:|:--:|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment