Skip to content

A simple web browser DICOM viewer for any device.

License

Notifications You must be signed in to change notification settings

TreatmentTraveller/u-dicom-viewer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

U Dicom Viewer

A simple web browser DICOM viewer for any device.


This software can only be used as a reviewing or scientific software and cannot be used as a medical device for primary diagnostic or any other clinical practice.

U Dicom Viewer or UDV is a simple but functional DICOM viewer for any device with a web browser, it allows to open and view 2D medical images in a wide variety of DICOM formats.

Key features

  • Integration of a sandbox file manager to handle easily files and subfolders. (1)
  • Open zip archive from local and decompress it into sandbox file system.
  • Open zip archive from URL and decompress it into sandbox file system.
  • Open images from sandbox file system.
  • Open DICOMDIR from sandbox file system.
  • Open DICOMDIR file from local (2).
  • Open multiple files from local folder (2).
  • Open medical images in DICOM format from local and URL.
  • Open images in JPEG or PNG format from local and URL.
  • Export zip archive of images from sandbox file system.
  • Window width and window center control for DICOM images.
  • Zooming and panning images.
  • Measurement tools with annotation field.
  • Measurement tools for length, area and angle, elliptical, rectangle and Freehand ROI.
  • Persistence of measurement tools. (3)
  • Cine view with control functions for multiframe image.
  • Displaying DICOM attributes of image.
  • Multi-view support, it can open up to 16 different files (1x1 to 4x4 grid).
  • Basic 2D Multiplanar Reconstruction (MPR), this allows to reconstruct images in orthogonal planes (coronal, sagittal, axial).
  • Reference Lines, this allows to determine the intersection point when browsing series with different image planes.
  • Link Series, this allows to syncronized scroll with different series on same slice location.
  • Browser to explorer series and images.
  • Histogram window.
  • Save DICOM attributes as JSON or CSV file.
  • Save screenshot in JPEG or PNG format into local or sandbox file system.

(1) Stored in IndexedDB, the client-side database of web browser.

(2) This feature is not present in mobile browser because the webkitdirectory attribute is not yet supported (for detail see caniuse.com/#feat=input-file-directory).

(3) Stored in IndexedDB. In the database every measurement is associated with SOP Instance UID tag.

Acknowledgments

UDV uses:

As well as the following third-party libraries:

  • Dexie.js, wrapper library for indexedDB - the standard database in the browser.
  • react-device-detect, detect device, and render view according to detected device type.
  • Material-UI, React components for faster and easier web development. Build your own design system, or start with Material Design.
  • hammer.js, JavaScript library for detecting touch gestures.
  • axios, Promise based HTTP client for the browser and node.js.
  • JSZip, Create, read and edit .zip files with Javascript.
  • React-Perfect-Scrollbar, Wrapper to allow use perfect-scrollbar in React.

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

Copyright

Copyright 2019 Luigi Orso [email protected]

About

A simple web browser DICOM viewer for any device.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.4%
  • Other 0.6%