Code Monkey home page Code Monkey logo

dicombrowser's Introduction

DicomBrowser

This is a lightweight portable Dicom browser application written in Python. It allows Dicom directories to be loaded, images and tag data viewed, and not much else aside. This is intended to be a cross-platform utility suitable for previewing Dicom data rather than doing any sort of processing.

Installation

DicomBrowser requires Python 3.6+, PyQt5, numpy, pydicom and pyqtgraph, the latter two are submodules of this project. Ensure these packages are installed, in the case of pydicom and pyqtgraph ensure the submodules are included in your clone:

git clone --recursive https://github.com/ericspod/DicomBrowser.git

DicomBrowser can be installed using the setup.py script (although this isn't necessary, see below):

python setup.py install

This will generate the necessary files for the UI, install the module, and create a script to run the application from the command line called DicomBrowser, but will not install other needed packages. Ensure the pydicom and pyqtgraph submodules have been checked out and then run the above command in each to install them.

PyQt4/5 must be acquired through your package manager or through its website. Numpy can be installed through your package manager, the website, or pip:

pip install numpy

Generating the packaged executables requires pyinstaller, clone and install from https://github.com/pyinstaller/pyinstaller if you want to generate these yourself.

Running

DicomBrowser can be run directly as a module from the project's directory:

python -m DicomBrowser

The releases also include pre-built Windows and OSX standalone applications, allowing you to download these and run the application without installing Python or the necessary packages.

Directories provided as command line arguments will be imported, any other arguments or files will be ignored.

Docker

A Dockerfile is included, to build the image with the following command:

docker build . --tag dicombrowser:latest

and then to run the created image "dicombrowser" on a X Windows host use a command like the following:

docker run -ti --rm --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw" dicombrowser

Authors

DicomBrowser is developed and maintained by Eric Kerfoot [email protected].

License

Copyright (C) 2016-9 Eric Kerfoot, King's College London, all rights reserved

This file is part of DicomBrowser.

DicomBrowser is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

DicomBrowser is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (LICENSE.txt). If not, see http://www.gnu.org/licenses/

dicombrowser's People

Contributors

ericspod avatar pablohn26 avatar

Watchers

James Cloos 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.