Giter Club home page Giter Club logo

deephistreg's Introduction

About

The repository contains software used to obtain the DeepHistReg results (ANHIR challenge). The purpose of the repository is to make the results fully reproducible. Please contact us in case of any technical problems. For the iterative MIND-Demons (the best median of median rTRE among all participants but significantly higher registration time) please visit: ANHIR-AGH

How to use

There are two ways to use the code:

  • To reproduce the results
  • To improve the registration procedure and perform your own experiments

Access to the submission file

If you do not want or do not have time to use the code and the purpose is just to obtain the results then contact us. We will provide the submission file used to create the ANHIR submission with the transformed landmarks and the reported registration time.

How to reproduce the results

To reproduce the results without performing the training from scratch, perform the following steps:

  • Prepare Dataset
  • Use the file to convert the original ANHIR dataset into the format used by the DeepHistReg framework.
  • Contact authors for the access to the pretrained models and use: Main File.
  • First point the model variables to appropriate paths (documented in the file) and then run the file.
  • Create the submission from the registration output using Submission File.
  • Add your own machine benchmark file to the submission folder and zip the folder (see challenge website ANHIR Webiste).
  • The submission is ready.

How to perform own training/validation

To improve the results and perform your own training, the following steps are necessary:

  • Prepare Dataset
  • Use the file to convert the original ANHIR dataset into the format used by the DeepHistReg framework.
  • Use Main File with only the initial alignment to create training set for the affine registration. Then use Prepare Dataset to prepare the dataset for the affine training.
  • Use Affine Reg to train the affine registration network.
  • Use Main File with the initial alignment and the affine registration to create the training set for the nonrigid registration. Then use Prepare Dataset to prepare the dataset for the nonrigid training.
  • Use Nonrigid Reg to train the nonrigid registration network.
  • Use Main File with the whole framework turned on to create the final registration results.
  • Create the submission from the registration output using Submission File.
  • Add your own machine benchmark file to the submission folder and zip the folder (see challenge website ANHIR Webiste).
  • The submission is ready.

Dataset

For the dataset access and the full description please visit ANHIR Webiste. If you found the dataset useful please cite the appropriate publications.

Dependencies

  • PyTorch
  • NumPy
  • SciPy
  • Matplotlib
  • SimpleITK
  • Pandas
  • PyTorch-Summary

Limitations

The software was tested on Ubuntu 18.04 LTS and Python version >=3.6.x.

Acknowledgmnets

If you found the software useful please cite:

  • Marek Wodzinski and Henning Müller, DeepHistReg: Unsupervised Deep Learning Registration Framework for Differently Stained Histology Samples. Computer Methods and Programs in Biomedicine Vol. 198, January 2021.
    https://www.sciencedirect.com/science/article/pii/S0169260720316321
    The article presents the whole DeepHistReg framework with deep segmentation, initial alignment, affine registration and improved deformable registration.
  • Marek Wodzinski and Henning Müller, Unsupervised Learning-based Nonrigid Registration of High Resolution Histology Images, 11th International Workshop on Machine Learning in Medical Imaging (MICCAI-MLMI), 2020.
    https://link.springer.com/chapter/10.1007/978-3-030-59861-7_49
    The article introduces the first version of the nonrigid registration.
  • Marek Wodzinski and Henning Müller, Learning-based Affine Registration of Histological Images, 9th International Workshop on Biomedical Image Registration (WBIR), 2020.
    https://link.springer.com/chapter/10.1007/978-3-030-50120-4_2
    The article introduces the patch-based, resolution-independent affine registration being a part of the framework.

You may also find useful to cite (however, the DeepHistReg is not part of the challenge summary article):

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.