dwv 0.25.2 → 0.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/decoders/dwv/decode-rle.js +22 -0
- package/decoders/dwv/rle.js +103 -0
- package/decoders/pdfjs/arithmetic_decoder.js +185 -185
- package/decoders/pdfjs/decode-jpeg2000.js +18 -18
- package/decoders/pdfjs/decode-jpegbaseline.js +18 -18
- package/decoders/pdfjs/jpg.js +1072 -1072
- package/decoders/pdfjs/jpx.js +2237 -2237
- package/decoders/pdfjs/readme.md +15 -15
- package/decoders/pdfjs/util.js +1588 -1588
- package/decoders/rii-mango/decode-jpegloss.js +34 -37
- package/decoders/rii-mango/lossless.js +1755 -1755
- package/decoders/rii-mango/readme.md +12 -12
- package/dist/dwv.js +27537 -27189
- package/dist/dwv.min.js +3 -3
- package/license.txt +674 -674
- package/locales/de/overlays.json +62 -62
- package/locales/de/translation.json +236 -236
- package/locales/en/overlays.json +62 -62
- package/locales/en/translation.json +236 -236
- package/locales/es/overlays.json +62 -62
- package/locales/es/translation.json +236 -236
- package/locales/fr/overlays.json +62 -62
- package/locales/fr/translation.json +236 -236
- package/locales/it/overlays.json +62 -62
- package/locales/it/translation.json +236 -236
- package/locales/jp/overlays.json +62 -62
- package/locales/jp/translation.json +236 -236
- package/locales/ro/overlays.json +62 -62
- package/locales/ro/translation.json +236 -236
- package/locales/ru/overlays.json +62 -62
- package/locales/ru/translation.json +236 -236
- package/locales/zh/overlays.json +62 -62
- package/locales/zh/translation.json +236 -236
- package/package.json +50 -51
- package/readme.md +66 -42
package/package.json
CHANGED
|
@@ -1,51 +1,50 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dwv",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "DICOM Web Viewer.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"DICOM",
|
|
7
|
-
"medical",
|
|
8
|
-
"imaging"
|
|
9
|
-
],
|
|
10
|
-
"license": "GPL-3.0",
|
|
11
|
-
"author": "ivmartel <ivmartel@gmail.com>",
|
|
12
|
-
"homepage": "https://ivmartel.github.io/dwv/",
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "git://github.com/ivmartel/dwv.git"
|
|
16
|
-
},
|
|
17
|
-
"main": "dist/dwv.min.js",
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"i18next": "~
|
|
20
|
-
"i18next-browser-languagedetector": "~
|
|
21
|
-
"i18next-xhr-backend": "~
|
|
22
|
-
"jszip": "~3.
|
|
23
|
-
"konva": "~2.
|
|
24
|
-
"magic-wand-js": "~1.0.0"
|
|
25
|
-
},
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"grunt": "~1.0.
|
|
28
|
-
"grunt-cli": "~1.3.
|
|
29
|
-
"grunt-contrib-concat": "~1.0",
|
|
30
|
-
"grunt-contrib-connect": "~
|
|
31
|
-
"grunt-contrib-copy": "~1.0.0",
|
|
32
|
-
"grunt-contrib-jshint": "~2.
|
|
33
|
-
"grunt-contrib-uglify": "~4.0.0",
|
|
34
|
-
"grunt-contrib-watch": "~1.1.0",
|
|
35
|
-
"grunt-coveralls": "~2.0.0",
|
|
36
|
-
"grunt-jsdoc": "~2.
|
|
37
|
-
"grunt-qunit-istanbul": "~1.0.0",
|
|
38
|
-
"http-server": "^0.11.1",
|
|
39
|
-
"ink-docstrap": "~1.3",
|
|
40
|
-
"qunit": "~2.
|
|
41
|
-
},
|
|
42
|
-
"scripts": {
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dwv",
|
|
3
|
+
"version": "0.26.1",
|
|
4
|
+
"description": "DICOM Web Viewer.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"DICOM",
|
|
7
|
+
"medical",
|
|
8
|
+
"imaging"
|
|
9
|
+
],
|
|
10
|
+
"license": "GPL-3.0",
|
|
11
|
+
"author": "ivmartel <ivmartel@gmail.com>",
|
|
12
|
+
"homepage": "https://ivmartel.github.io/dwv/",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git://github.com/ivmartel/dwv.git"
|
|
16
|
+
},
|
|
17
|
+
"main": "dist/dwv.min.js",
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"i18next": "~12.1.0",
|
|
20
|
+
"i18next-browser-languagedetector": "~3.0.0",
|
|
21
|
+
"i18next-xhr-backend": "~2.0.0",
|
|
22
|
+
"jszip": "~3.2.0",
|
|
23
|
+
"konva": "~2.6.0",
|
|
24
|
+
"magic-wand-js": "~1.0.0"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"grunt": "~1.0.3",
|
|
28
|
+
"grunt-cli": "~1.3.2",
|
|
29
|
+
"grunt-contrib-concat": "~1.0.1",
|
|
30
|
+
"grunt-contrib-connect": "~2.0.0",
|
|
31
|
+
"grunt-contrib-copy": "~1.0.0",
|
|
32
|
+
"grunt-contrib-jshint": "~2.1.0",
|
|
33
|
+
"grunt-contrib-uglify": "~4.0.0",
|
|
34
|
+
"grunt-contrib-watch": "~1.1.0",
|
|
35
|
+
"grunt-coveralls": "~2.0.0",
|
|
36
|
+
"grunt-jsdoc": "~2.4.0",
|
|
37
|
+
"grunt-qunit-istanbul": "~1.0.0",
|
|
38
|
+
"http-server": "^0.11.1",
|
|
39
|
+
"ink-docstrap": "~1.3.2",
|
|
40
|
+
"qunit": "~2.9.1"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"lint": "grunt lint",
|
|
44
|
+
"test": "grunt test",
|
|
45
|
+
"test-ci": "grunt test-ci",
|
|
46
|
+
"build": "grunt build",
|
|
47
|
+
"doc": "grunt doc",
|
|
48
|
+
"dev": "grunt dev"
|
|
49
|
+
}
|
|
50
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,42 +1,66 @@
|
|
|
1
|
-
DWV
|
|
2
|
-
===
|
|
3
|
-
|
|
4
|
-
DWV (DICOM Web Viewer) is an open source zero footprint medical image viewer library. It uses _only_ javascript and HTML5 technologies, meaning that it can be run on any platform that provides a modern browser (laptop, tablet, phone and even modern TVs). It can load local or remote data in DICOM format (the standard for medical imaging data such as MR, CT, Echo, Mammo, NM...) and provides standard tools for its manipulation such as contrast, zoom, drag, possibility to draw regions on top of the image and imaging filters such as threshold and sharpening.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
And for those who want to support the dwv development:
|
|
16
|
-
|
|
17
|
-
[](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VQWYY8ZS75H3E¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
|
|
18
|
-
|
|
19
|
-
##
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
yarn run
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
DWV
|
|
2
|
+
===
|
|
3
|
+
|
|
4
|
+
DWV (DICOM Web Viewer) is an open source zero footprint medical image viewer library. It uses _only_ javascript and HTML5 technologies, meaning that it can be run on any platform that provides a modern browser (laptop, tablet, phone and even modern TVs). It can load local or remote data in DICOM format (the standard for medical imaging data such as MR, CT, Echo, Mammo, NM...) and provides standard tools for its manipulation such as contrast, zoom, drag, possibility to draw regions on top of the image and imaging filters such as threshold and sharpening.
|
|
5
|
+
|
|
6
|
+
[](https://travis-ci.org/ivmartel/dwv) [](https://coveralls.io/r/ivmartel/dwv?branch=master) [](https://codeclimate.com/github/ivmartel/dwv) [](https://david-dm.org/ivmartel/dwv) [](https://www.npmjs.com/package/dwv) [](https://libraries.io/bower/dwv)
|
|
7
|
+
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fivmartel%2Fdwv?ref=badge_shield)
|
|
8
|
+
|
|
9
|
+
Try a [live demo](https://ivmartel.github.io/dwv/) and read a lot more information on the [wiki](https://github.com/ivmartel/dwv/wiki) (such as [Dicom-Support](https://github.com/ivmartel/dwv/wiki/Dicom-Support) or [Pacs-Support](https://github.com/ivmartel/dwv/wiki/Pacs-Support)). You can also check out the [example viewers](https://github.com/ivmartel/dwv/wiki/Examples#viewers-and-integrations) based on dwv.
|
|
10
|
+
|
|
11
|
+
- All coding/implementation contributions and comments are welcome.
|
|
12
|
+
- DWV is not certified for diagnostic use.<sup>[1](#footnote1)</sup>
|
|
13
|
+
- Released under GNU GPL-3.0 license (see [license.txt](license.txt)).
|
|
14
|
+
|
|
15
|
+
And for those who want to support the dwv development:
|
|
16
|
+
|
|
17
|
+
[](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VQWYY8ZS75H3E¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
|
|
18
|
+
|
|
19
|
+
## Steps to run the viewer from scratch
|
|
20
|
+
|
|
21
|
+
Get the code:
|
|
22
|
+
```sh
|
|
23
|
+
git clone https://github.com/ivmartel/dwv.git
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Move to its folder:
|
|
27
|
+
```sh
|
|
28
|
+
cd dwv
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Install dependencies (using `yarn`, replace with `npm` if you prefer):
|
|
32
|
+
```sh
|
|
33
|
+
yarn install
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Call the test script to launch the tests on a local server:
|
|
37
|
+
```sh
|
|
38
|
+
yarn run test
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
You can now open a browser at http://localhost:8080 and enjoy!
|
|
42
|
+
|
|
43
|
+
## Available Scripts
|
|
44
|
+
|
|
45
|
+
``` bash
|
|
46
|
+
# install dependencies
|
|
47
|
+
yarn install
|
|
48
|
+
|
|
49
|
+
# run linting
|
|
50
|
+
yarn run lint
|
|
51
|
+
|
|
52
|
+
# run unit tests with hot reload at localhost:8080
|
|
53
|
+
yarn run test
|
|
54
|
+
|
|
55
|
+
# create release files
|
|
56
|
+
yarn run build
|
|
57
|
+
|
|
58
|
+
# create documentation
|
|
59
|
+
yarn run doc
|
|
60
|
+
|
|
61
|
+
# watch for changes and copy build (to be connected with a demo viewer)
|
|
62
|
+
yarn run dev
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
<a name="footnote1">1</a>: Certification refers to official medical software certification that are issued by the FDA or EU Notified Bodies. The sentence here serves as a reminder that the Dicom Web Viewer is not ceritifed, and comes with no warranties (and no possible liability of its authors) as stated in the [license](license.txt). To learn more about standards used in certification, see the [wikipedia Medical software](https://en.wikipedia.org/wiki/Medical_software) page. If you have additional questions, please [open an issue](https://www.github.com/ivmartel/dwv/issues).
|