All Projects → HzFu → Mnet_deepcdr

HzFu / Mnet_deepcdr

Code for TMI 2018 "Joint Optic Disc and Cup Segmentation Based on Multi-label Deep Network and Polar Transformation"

Projects that are alternatives of or similar to Mnet deepcdr

Ysda deeplearning17
Yandex SDA classes on deep learning. Version of year 2017
Stars: ✭ 118 (-0.84%)
Mutual labels:  jupyter-notebook
Texture Synthesis Nonparametric Sampling
Implementation of "Texture Synthesis with Non-Parametric Sampling" paper by Alexei A. Efros and Thomas K. Leung
Stars: ✭ 119 (+0%)
Mutual labels:  jupyter-notebook
Adversarial examples
对抗样本
Stars: ✭ 118 (-0.84%)
Mutual labels:  jupyter-notebook
Senato.py
A scraper for the data made available by the Italian Senate, and a cluster analysis to detect similar amendments.
Stars: ✭ 118 (-0.84%)
Mutual labels:  jupyter-notebook
Nestedtensor
[Prototype] Tools for the concurrent manipulation of variably sized Tensors.
Stars: ✭ 119 (+0%)
Mutual labels:  jupyter-notebook
Automunge
Artificial Learning, Intelligent Machines
Stars: ✭ 119 (+0%)
Mutual labels:  jupyter-notebook
Qiskit Tutorials
A collection of Jupyter notebooks showing how to use the Qiskit SDK
Stars: ✭ 1,777 (+1393.28%)
Mutual labels:  jupyter-notebook
Trimap generator
Generating automatic trimap through pixel dilation and strongly-connected-component algorithms
Stars: ✭ 119 (+0%)
Mutual labels:  jupyter-notebook
Chromagan
Official Implementation of ChromaGAN: An Adversarial Approach for Picture Colorization
Stars: ✭ 117 (-1.68%)
Mutual labels:  jupyter-notebook
Bayes By Backprop
PyTorch implementation of "Weight Uncertainty in Neural Networks"
Stars: ✭ 119 (+0%)
Mutual labels:  jupyter-notebook
Midi Dataset
Code for creating a dataset of MIDI ground truth
Stars: ✭ 118 (-0.84%)
Mutual labels:  jupyter-notebook
Deeplearning With Tensorflow Notes
龙曲良《TensorFlow深度学习》学习笔记及代码,采用TensorFlow2.0.0版本
Stars: ✭ 119 (+0%)
Mutual labels:  jupyter-notebook
Abstractive Text Summarization
PyTorch implementation/experiments on Abstractive Text Summarization using Sequence-to-sequence RNNs and Beyond paper.
Stars: ✭ 119 (+0%)
Mutual labels:  jupyter-notebook
Tensorflow shiny
A R/Shiny app for interactive RNN tensorflow models
Stars: ✭ 118 (-0.84%)
Mutual labels:  jupyter-notebook
Linear Attention Recurrent Neural Network
A recurrent attention module consisting of an LSTM cell which can query its own past cell states by the means of windowed multi-head attention. The formulas are derived from the BN-LSTM and the Transformer Network. The LARNN cell with attention can be easily used inside a loop on the cell state, just like any other RNN. (LARNN)
Stars: ✭ 119 (+0%)
Mutual labels:  jupyter-notebook
Planet Amazon Deforestation
The open source repository for the Kaggle Amazon forest devastation competition https://www.kaggle.com/c/planet-understanding-the-amazon-from-space
Stars: ✭ 118 (-0.84%)
Mutual labels:  jupyter-notebook
Pydatadc 2018 Tidy
PyData 2018 tutorial for tidying data
Stars: ✭ 119 (+0%)
Mutual labels:  jupyter-notebook
2018 19 Classes
https://cc-mnnit.github.io/2018-19-Classes/ - 🎒 💻 Material for Computer Club Classes
Stars: ✭ 119 (+0%)
Mutual labels:  jupyter-notebook
Voice activity detector
A statistical model-based Voice Activity Detection
Stars: ✭ 119 (+0%)
Mutual labels:  jupyter-notebook
Kaggle challenge
This is the code for "Kaggle Challenge LIVE" By Siraj Raval on Youtube
Stars: ✭ 119 (+0%)
Mutual labels:  jupyter-notebook

mnet_deep_cdr

Python version range Code for TMI 2018 "Joint Optic Disc and Cup Segmentation Based on Multi-label Deep Network and Polar Transformation"

Project homepage:http://hzfu.github.io/proj_glaucoma_fundus.html

Install dependencies

pip install -r requirements.txt

Install package

pip install .

OpenCV will need to be installed separately.


  1. The code is based on: TensorFlow 1.14 (with Keras) + Matlab
  2. The deep output is raw segmentation result without ellipse fitting. The Matlab code is the ellipse fitting and CDR calculation (by using PDollar toolbox: https://pdollar.github.io/toolbox/).
  3. You can run the 'Step_3_MNet_test.py' for testing any new image directly.
  4. We also provided the validation and test results on REFUGE dataset in 'REFUGE_result' fold.
  5. Note: Due to the 'scipy.misc.imresize' in SciPy 1.0.0 has been removed in SciPy 1.3.0, the original trained model 'Model_MNet_REFUGE.h5' is not suitable. The results based on 'Model_MNet_REFUGE.h5' are different with the paper's. The updated model is ongoing... If you want to segment disc/cup from fundus image, you can consider our newest methods: CE-Net and AG-Net, which obtain the better performances and are also released in:
  6. A pytorch implementation of M-Net could be found in AG-Net: https://github.com/HzFu/AGNet

Main files:

  1. 'Step_1_Disc_Crop.py': The disc detection code for whole funuds image.
  2. 'Step_2_MNet_train.py': The M-Net training code.
  3. 'Step_3_MNet_test.py': The M-Net testing code.
  4. 'Step_4_CDR_output.m': The ellipse fitting for disc and cup, and CDR calculation.

If you use this code, please cite the following papers:

  1. Huazhu Fu, Jun Cheng, Yanwu Xu, Damon Wing Kee Wong, Jiang Liu, and Xiaochun Cao, "Joint Optic Disc and Cup Segmentation Based on Multi-label Deep Network and Polar Transformation", IEEE Transactions on Medical Imaging (TMI), vol. 37, no. 7, pp. 1597–1605, 2018. [PDF]
  2. Huazhu Fu, Jun Cheng, Yanwu Xu, Changqing Zhang, Damon Wing Kee Wong, Jiang Liu, and Xiaochun Cao, "Disc-aware Ensemble Network for Glaucoma Screening from Fundus Image", IEEE Transactions on Medical Imaging (TMI), vol. 37, no. 11, pp. 2493–2501, 2018. [PDF]

There are also some related works for medical image segmentation for your reference:

  1. "Attention Guided Network for Retinal Image Segmentation," in MICCAI, 2019. [PDF] [Github Code]
  2. “CE-Net: Context Encoder Network for 2D Medical Image Segmentation,” IEEE TMI, 2019. [PDF] [Github Code]

Note: for ORIGA and SCES datasets

Unfortunately, the ORIGA and SCES datasets cannot be released due to the clinical policy. But, here is an other glaucoma challenge, Retinal Fundus Glaucoma Challenge (REFUGE), including disc/cup segmentation, glaucoma screening, and localization of Fovea.


Update log:

  • 19.01.22: Added training code, and uploaded the results on REFUGE dataset.
  • 18.06.30: Added ellipse fitting code (based on Matlab), and Fixed the bug for macular center fundus.
  • 18.06.29: Added disc detection code (based on U-Net).
  • 18.02.26: Added CDR calculation code (based on Matlab).
  • 18.02.24: Released the code.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].