annotate Sphinx/source/plugins/osimis-webviewer.rst @ 330:dc9accc64768

jodogne
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 07 Mar 2020 11:26:44 +0100
parents ab0077ab5f5f
children b7f045b23faa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
301
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 .. _osimis_webviewer:
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 Osimis Web Viewer plugin
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 ========================
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 .. contents::
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 This plugin by Osimis extends Orthanc with a Web viewer of medical
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 images, with more advanced features than the basic :ref:`Orthanc Web
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 viewer plugin <webviewer>`. The Osimis plugin adds tools for
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 measuring, for viewing multiple series, and for split-pane.
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 Importantly, contrarily to the basic Orthanc Web viewer, **CE
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15 marking** is available. By buying such a CE marking, this viewer can
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 be used for diagnostic purpose.
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18 For general information, check out the `official homepage of the
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19 plugin
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 <http://www.orthanc-server.com/static.php?page=osimis-web-viewer>`__.
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 Also `check out the source code
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 <https://bitbucket.org/osimis/osimis-webviewer-plugin>`__.
b2baccb32101 page dedicated to the Osimis Web viewer plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23
303
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
24
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
25 How to get it
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
26 -------------
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
27
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
28 The Osimis Web viewer is part of the `Windows installers
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
29 <https://www.orthanc-server.com/download-windows.php>`__.
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
30
308
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
31 For Linux users, you'll find it in the `osimis/orthanc
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
32 <https://osimis.atlassian.net/wiki/spaces/OKB/pages/26738689/How+to+use+osimis+orthanc+Docker+images>`__
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
33 Docker images or you can download the LSB (Linux Standard Base)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
34 binaries `here
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
35 <http://orthanc.osimis.io/lsb/plugin-osimis-webviewer/releases/1.3.1/libOsimisWebViewer.so>`__.
303
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
36
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
37 The compilation process is quite complex since it requires to build
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
38 first the frontend and then the backend. All information can be found
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
39 in the `source code
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
40 <https://bitbucket.org/osimis/osimis-webviewer-plugin>`__.
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
41
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
42
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
43 Usage
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
44 -----
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
45
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
46 .. highlight:: json
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
47
308
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
48 On Windows, the plugin is enabled by default and will work
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
49 out-of-the-box.
303
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
50
308
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
51 If you're using the ``osimis/orthanc`` Docker image, you'll have to
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
52 define the WVB_ENABLED `environment variable
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
53 <https://osimis.atlassian.net/wiki/spaces/OKB/pages/26738689/How+to+use+osimis+orthanc+Docker+images#Howtouseosimis/orthancDockerimages?-OsimisWebViewer>`__
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
54 to ``true``.
303
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
55
308
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
56 On plain GNU/Linux distributions (i.e. if not using Docker), the
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
57 Osimis Web viewer will only work with LSB (Linux Standard Base)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
58 Orthanc binaries that can be downloaded from `here
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
59 <https://lsb.orthanc-server.com/orthanc/>`__ (that will work with most
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
60 recent GNU/Linux distributions). Once Orthanc is installed, you must
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
61 change the :ref:`configuration file <configuration>` to tell Orthanc
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
62 where it can find the plugin: This is done by properly modifying the
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
63 ``Plugins`` option. You could for instance use the following
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
64 configuration file::
303
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
65
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
66 {
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
67 "Name" : "MyOrthanc",
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
68 [...]
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
69 "Plugins" : [
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
70 "/home/user/xxx/Downloads/libOsimisWebViewer.so"
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
71 ]
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
72 }
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
73
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
74 .. highlight:: text
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
75
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
76 Orthanc must of course be restarted after the modification of its
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
77 configuration file.
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
78
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
79 Once a :ref:`DICOM study <model-world>` is opened using Orthanc
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
80 Explorer, a yellow button entitled ``Osimis Web Viewer`` will show
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
81 up. It will open the Web viewer for that particular study. See also
308
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
82 the interactive demonstration on the `official homepage of the plugin
303
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
83 <https://www.orthanc-server.com/static.php?page=osimis-web-viewer>`__.
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
84
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
85 Advanced options
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
86 ----------------
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
87
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
88 .. highlight:: json
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
89
308
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
90 The configuration of the Web viewer can be fine-tuned by adapting some
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
91 options in the `configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
92 <https://bitbucket.org/osimis/osimis-webviewer-plugin/src/master/doc/default-configuration.json>`__.
303
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
93
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
94 FAQ
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
95 ---
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
96
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
97 - **What video formats are supported by the Osimis Web Viewer ?**
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
98
308
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
99 The set of codecs supported by the Osimis Viewer is an intersection
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
100 of the sets of codecs supported by the `DICOM standard
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
101 <http://dicom.nema.org/medical/dicom/current/output/chtml/part05/PS3.5.html>`__
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
102 and those supported by the `web browsers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
103 <https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats>`__.
303
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
104 In short, this mostly comes down to just MPEG-4.
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
105
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
106 - **Where are the annotations stored ?**
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
107
308
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
108 Annotations are stored in :ref:`metadata <metadata>` (id ``9999``)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
109 in a custom format. Note that annotation storage is disabled by
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
110 default and can be enabled by setting ``"AnnotationStorageEnabled":
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
111 true`` in the configuration file.
303
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
112
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
113
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
114
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
115 CE marking
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
116 ----------
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
117
308
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
118 Legally, in Europe, the Osimis Web viewer cannot be used for medical
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
119 usage unless you purchase the `CE marked version by Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
120 <https://www.osimis.io/en/services.html>`__. If you are located
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
121 outside of Europe, you should check your local regulation: However,
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
122 you are most likely not allowed to use it for medical usage as well.
303
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
123
308
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
124 Although the free and open-source version of the Osimis Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
125 offers the same feature scope, CE marking requires a "supplier-end
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 305
diff changeset
126 user" agreement in which the supplier guarantees that:
303
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
127
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
128 - the viewer has been tested for medical use against all possible patient risk,
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
129 - the end user receives regular updates on new features and bug fixes,
861643d5f808 osimis-webviewer doc
Alain Mazy <alain@mazy.be>
parents: 301
diff changeset
130 - the end user can be informed of any bug in the medical device.