GithubHelp home page GithubHelp logo

dicomviewer's Introduction

dicomviewer

A simple volume dicom viewer

Code inspired from the OpenGL NeHe tutorials (http://nehe.gamedev.net/)

Viewing 3D dicom volumes is inefficient. Converting from dicom slices to nifti volumes is more interesting. Please consider doing it.

I think the code is a good introduction to 3D texture rendering in Python using OpenGL (if you want to use MIP).

Tester under Ubuntu 12.04 and Debian Wheezy. The application is known to fail with some dicom images: due to the huge amount of dicom files possibilities, python dicom is not able to read each of them.

If you have ANY question or suggestion do not hesitate to contact me at: [email protected]

  1. Requirements :

Python Opengl (http://pyopengl.sourceforge.net/), python-opengl under Ubuntu and Debian.

Python Dicom (http://code.google.com/p/pydicom/), python-dicom under Ubuntu and Debian.

numpy (http://www.numpy.org/), python-numpy under Ubuntu and Debian

scipy (http://www.scipy.org/), python-scipy under Ubuntu and Debian

  1. Utilisation :

$python dicomviewer file.txt

where file.txt is organized as follows: /path/to/slice1.dcm /path/to/slice2.dcm ... /path/to/slicen.dcm

The slice must be of the same size.

Use mouse wheel to zoom and unzoom Q to translate left D to translate right Z to translate up S to translate down

LEFT to rotate - along the axis xy RIGHT to rotate + along the axis xy DOWN to rotate - along the axis yz UP to rotate + along the axis yz HOME to rotate - along the axis xz END to rotate + along the axis xz

dicomviewer's People

Contributors

rvandaele avatar

Stargazers

Sonu Ranjit Jacob avatar  avatar wangmurong avatar Filippi Rogerio da Silva avatar

Watchers

 avatar

dicomviewer's Issues

convert niftii

You say in your readme: "Converting from dicom slices to nifti volumes is more interesting. Please consider doing it." Can you give me Resources to help me do that?

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.