Giter Site home page Giter Site logo

cosmosec / cosmo-cagan-stainnorm Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.35 MB

This open-source project contains the source code for the paper titled 'Colour Adaptive Generative Networks for Stain Normalisation of Histopathology Images' as published in 'Medical Image Analysis' in 2022.

Python 100.00%

cosmo-cagan-stainnorm's Introduction

Cosmo-CAGAN-StainNorm

Configs

All configs are located configs folder

Training

For training the models section, simply run python3 main.py dataset=cam16. A specific dataset can be chosen using dataset=[tcga|breakhis|cam16|cam17].

Testing

For testing the model, simply run python3 main.py dataset=cam16 run=test. A specific dataset can be chosen using dataset=[tcga|breakhis|cam16|cam17]. For classifier training, simply run python3 classifier.py dataset=cam17 model=classifier run.opt_run.n_epoch=40. A specific dataset can be chosen using dataset=[tcga|breakhis|cam17].

Trained Packages

We provide several pretrained trained models. We also offer our train-test splits.

method Dataset url
CAGAN TCGA-IDH model
CAGAN BreakHis model
CAGAN CAMELYON16 model

Citing Paper

In your research, if this code is useful, please cite the following paper:

@article{cong2022colour, title={Colour adaptive generative networks for stain normalisation of histopathology images}, author={Cong, Cong and Liu, Sidong and Di Ieva, Antonio and Pagnucco, Maurice and Berkovsky, Shlomo and Song, Yang}, journal={Medical Image Analysis}, pages={102580}, year={2022}, publisher={Elsevier} }

cosmo-cagan-stainnorm's People

Contributors

cosmosec avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.