Coder Social home page Coder Social logo

rvignav / contour2dso Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 25.81 MB

Creation of a DICOM Segmentation Object from an AIM file storing the contours of a DICOM image series. Integrated into Stanford's ePAD platform as a plugin.

Home Page: https://epad.stanford.edu/contour-dso

License: MIT License

Dockerfile 9.09% Python 90.91%
dso dicom-image-series epad dicom-segmentation contour

contour2dso's Introduction

contour2DSO

Creation of a DICOM Segmentation Object (DSO) from an AIM file storing the contours of a DICOM image series. Integrated into Stanford University's ePAD Imaging Platform as a plugin. View full documentation on the ePAD website.

Available on Docker Hub here.

Table of Contents

Usage

To test the contour to DSO algorithm, run the following commands:

git clone https://github.com/rvignav/contour2DSO.git
cd contour2DSO
docker build -t run .
docker run -it -v "local/aims:/home/series/files" -v "local/patient/series:/home/series/PatientSeries" run

A possible command satisfying the bind and argument requirements is:

docker run -it -v "$(pwd)/aims:/home/series/files" -v "$(pwd)/SamplePatient:/home/series/PatientSeries" run

Note that the AIM file must be stored in the aims folder.

The generated DSO is now stored in the /output folder of the Docker container and can be accessed by ePAD.

Errors

To fix the error Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?, run:

Windows:

systemctl start docker

MacOS:

brew cask install docker virtualbox
brew install docker-machine
docker-machine create --driver virtualbox default
docker-machine restart
eval "$(docker-machine env default)"

To fix the error docker: Error response from daemon: Conflict. The container name <container-name> is already in use, run:

docker ps -q -a | xargs docker rm

contour2dso's People

Contributors

emelalkim avatar rvignav avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

emelalkim

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.