Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webnamics/u-dicom-viewer
A simple web browser DICOM viewer for any device.
https://github.com/webnamics/u-dicom-viewer
cornerstonejs dicom dicom-viewer dicomviewer javascript medical-images react universal-dicom-viewer viewer
Last synced: 24 days ago
JSON representation
A simple web browser DICOM viewer for any device.
- Host: GitHub
- URL: https://github.com/webnamics/u-dicom-viewer
- Owner: webnamics
- License: mit
- Created: 2019-09-23T06:38:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-13T14:42:36.000Z (over 1 year ago)
- Last Synced: 2024-08-04T04:02:31.294Z (4 months ago)
- Topics: cornerstonejs, dicom, dicom-viewer, dicomviewer, javascript, medical-images, react, universal-dicom-viewer, viewer
- Language: JavaScript
- Homepage:
- Size: 24.3 MB
- Stars: 158
- Watchers: 5
- Forks: 64
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dicom - U Dicom Viewer - A simple but functional DICOM viewer for any device with a web browser. Allows opening and viewing 2D medical images in a wide variety of DICOM formats. (Libraries / JavaScript)
README
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:
-
Cornerstone Core, complete web based medical imaging platform. -
CornerstoneTools, library of common tools that can be used with Cornerstone. -
webnamics/CornerstoneWADOImageLoader, Cornerstone Image Loader that works with WADO-URI, WADO-RS and DICOM P10 files. A fork that allow to load image from ArrayBuffer. -
CornerstoneWebImageLoader, Cornerstone Image Loader that works with PNG and JPEG files. -
CornerstoneFileImageLoader, Cornerstone Image Loader for images (JPG, PNG) using the HTML5 File API. -
dicomParser, JavaScript library designed to parse DICOM for web browsers. -
Daikon, pure JavaScript DICOM reader.
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](https://github.com/facebook/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](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](https://facebook.github.io/create-react-app/docs/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](https://facebook.github.io/create-react-app/docs/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](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### 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]](mailto:[email protected])