Giter VIP home page Giter VIP logo

ngdicomviewer's Introduction

NgDicomViewer

NgDicomViewer is an Angular application(Single Page Application) built on top of the open source Javascript / HTML5 libraries provided by the DWV project. Predominantly made to view DICOM images on HTML 5 canvas on modern browsers without using any windowed plugins.

Not fully DICOM compliant, see Dicom-Support for details

For Demo please click

All coding/implementation contributions and comments are welcome.

Usage

Make sure to load AngularJS first, and then NgDicomViewer-mini.js. Also include openjpeg to open jpg compressed image.

The module is named ngdicomviewer. To enable it, you must simply list it as a dependency in your app. Example:

var app = angular.module('app', ['ngdicomviewer', ...]);

You can then use it in your templates like so:

<html ng-app='app'>
    ...
    <body>
        ...
        <dicomviewer class ="dicom" fileutilityid ="fileinput" urllistid="urltxt" urlopenbtnid="urlbtn">
        </dicomviewer>
    </body>
</html>

Attributes in dicomviewer tag:
 1)fileutilityid : id of input tag of type file to open local dicom file
 2)urllistid : id of input text for getting url list separated by ';'
 3)urlopenbtnid : button id to open images from url in the above

Scope Variables:
 1)Tool : Object To See available Tool Names which can be used to set them in selecting one
  "Tool.ButtonBasedTools" Returns Available Button based Tool name list
  "Tool.MouseBasedTools" Returns Available Mouse based Tool name list
 2)SelectedButtonTool : setting the value same as available in list will apply the tool to opened image
 3)SelectedMouseTool : setting the value same as available in list will apply the tool on mouse operation on the image
 4)SelectedColor : Any html Colour which can be setted the annotation colour
 5)Colours : list of recommended colours for the annotation
 6)PatientName : Opened image PatientName
 7)PatientId : Opened image PatientId
 8)WWidth : current Window Width of image
 9)WCenter : current Window Centre of image
 10)Rmin,Rmax : min and max value for the threshold filter tool that can be applied on the image
 11) Tval : Object
  "Tval.min" specify threshold filter tool min to be applied on image
  "Tval.max" specify threshold filter tool max to be applied on image

 For more Details see Example.html

Source project


Released under MIT licence

==========================

Declaration
 This app is not intended for clinical or diagnostic use. Any use of this viewer for diagnosis or in a clinical setting is strongly discouraged and should be avoided. This app is provided “as is” without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. In no event, shall author is liable for any special, incidental, indirect or consequential damages of any kind, or any damages whatsoever resulting from the use of this app, data or technical information accessed and viewed with this app, whether or not advised of the possibility of damage, under any theory of liability, arising out of or in connection with the use or performance of this app.

ngdicomviewer's People

Contributors

hrhrprasath avatar

Watchers

 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.