GithubHelp home page GithubHelp logo

imadtoubal / mip-supervision Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 16.5 MB

An implementation of: Tracing in 2D to reduce the annotation effort for 3D deep delineation of linear structures by Kozinsky M. et. al. https://arxiv.org/abs/1811.10508

License: MIT License

Python 0.03% Jupyter Notebook 99.97%
segmentation image-segmentation pytorch-implementation pytorch

mip-supervision's Introduction

MIP Supervision

Open Word-Level In Colab

A simple PyTorch implementation of: Koziński M, Mosinska A, Salzmann M, Fua P. Tracing in 2D to reduce the annotation effort for 3D deep delineation of linear structures. Medical Image Analysis. 2020 Feb;60:101590. DOI: 10.1016/j.media.2019.101590.

Install Environement

  • Using conda:
    conda env create
  • Using pip (TODO)

Dataset

demo.ipynb uses a public segmentation dataset (CHAOS [1]) as an example. It is a good palce to start in this repository.

If you wish to use your own dataset, you can use dataset.SegDataset3D class as follows:

from dataset import SegDataset3D

trainset = SegDataset3D(X, Y)

Where X and Y are numpy arrays of shape (N, W, H, D), with:

  • N: number of samples
  • W: width of each sample
  • H: height of each sample
  • D: depth of each sample

Network

The network is a U-Net style of network [2] that uses two max-pooling operations instead of four. The following code shows how to instantiate and use the network:

from model import UNet

in_channels = 1
out_channels = 3
net = UNet(in_channels, out_channels)

In the above example, the input is 1 channel volume, and the output is 3-class (3 channel) volumetric probability map.

Training

TODO

References

[1] A.E. Kavur, M. A. Selver, O. Dicle, M. Barış, N.S. Gezer. CHAOS - Combined (CT-MR) Healthy Abdominal Organ Segmentation Challenge Data (Version v1.03) [Data set]. Apr. 2019. Zenodo. http://doi.org/10.5281/zenodo.3362844

[2] O. Ronneberger, P. Fischer, and T. Brox. U-Net: Convolutional Networks for Biomedical Image Segmentation. In MICCAI, 2015.

[3] Koziński M, Mosinska A, Salzmann M, Fua P. Tracing in 2D to reduce the annotation effort for 3D deep delineation of linear structures. Medical Image Analysis. 2020 Feb;60:101590. DOI: 10.1016/j.media.2019.101590.

mip-supervision's People

Contributors

imadtoubal avatar

Watchers

 avatar  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.