Dicom-WEB plugin upgrade

Dear,

I have issue with some MRI Philips images when trying to access with the Osimis Viewer or OHIF. I get this logs when trying to open them:

W1021 11:28:21.403473 PluginsManager.cpp:168] Cannot decode image using GDCM: Bad file format
E1021 11:28:21.407464 PluginsManager.cpp:197] Exception while invoking plugin service 6014: Not implemented yet
E1021 11:28:21.426412 PluginsManager.cpp:164] (ImageController) Orthanc::OrthancException 23/500 Incompatible format of the images

I download latest Orthanc version for Windows with Dicom-Web plugin version 1.2.

There is a new DICOM-Web version (1.3) in https://www.orthanc-server.com/browse.php?path=/plugin-dicom-web. with some trascoding fixes that may solve this issue.

I download the 32 bits Windows Orthanc version and replace the actual OrthancDicomWeb.dll (v 1.2) with the new one, but I can’t get Orthanc Server work.

1021 11:29:28.392687 main.cpp:821] Loading plugin(s) from: C:\Program Files (x86)\Orthanc Server\Plugins
W1021 11:29:28.393684 PluginsManager.cpp:269] Registering plugin ‘connectivity-checks’ (version 1.8.0)
W1021 11:29:28.394682 PluginsManager.cpp:269] Registering plugin ‘worklists’ (version 1.8.0)
W1021 11:29:28.394682 PluginsManager.cpp:168] Sample worklist plugin is initializing
W1021 11:29:28.395679 PluginsManager.cpp:168] Worklist server is disabled by the configuration file
W1021 11:29:28.396676 PluginsManager.cpp:269] Registering plugin ‘authorization’ (version 0.2.3)
W1021 11:29:28.396676 PluginsManager.cpp:168] Initializing the authorization plugin
W1021 11:29:28.396676 PluginsManager.cpp:168] No section “Authorization” in the configuration file, the authorization plugin is disabled
W1021 11:29:28.397673 PluginsManager.cpp:269] Registering plugin ‘dicom-web’ (version 1.3)
W1021 11:29:28.398671 PluginsManager.cpp:168] URI to the DICOMweb REST API: /dicom-web/
W1021 11:29:28.399667 PluginsManager.cpp:168] URI to the WADO-URI API: /wado
E1021 11:29:28.400669 PluginsManager.cpp:264] Plugin ‘dicom-web’ already registered
W1021 11:29:28.400669 PluginsManager.cpp:219] Unregistering plugin ‘authorization’ (version 0.2.3)
W1021 11:29:28.400669 PluginsManager.cpp:219] Unregistering plugin ‘connectivity-checks’ (version 1.8.0)
W1021 11:29:28.401665 PluginsManager.cpp:219] Unregistering plugin ‘dicom-web’ (version 1.3)
W1021 11:29:28.401665 PluginsManager.cpp:219] Unregistering plugin ‘worklists’ (version 1.8.0)
W1021 11:29:28.401665 PluginsManager.cpp:168] Sample worklist plugin is finalizing
E1021 11:29:28.401665 main.cpp:1723] Uncaught exception, stopping now: [Error while using a shared library (plugin)] (code 25)
W1021 11:29:28.401665 main.cpp:1754] Orthanc has stopped

How can I test the new DICOM web version?

Thanks in advanced!

Regards,

Tomas

Hello,

These two lines indicate that you have not removed the DICOMweb plugin 1.2:

W1021 11:29:28.397673 PluginsManager.cpp:269] Registering plugin ‘dicom-web’ (version 1.3)

E1021 11:29:28.400669 PluginsManager.cpp:264] Plugin ‘dicom-web’ already registered

Orthanc loads all the DLL that are contained in the “Plugins” folder, and two versions of the same plugins cannot reside in this folder. Remove the 1.2 DLL, or change its extension (for instance, replace “.dll” by “.bak”).

S-

Hello,

Now is working the server with the last version:

W1021 11:48:17.285387 PluginsManager.cpp:269] Registering plugin ‘dicom-web’ (version 1.3)

but was not the solution…

E1021 11:48:29.263542 PluginsManager.cpp:197] Exception while invoking plugin service 6014: Not implemented yet
E1021 11:48:29.408155 PluginsManager.cpp:164] (ImageController) Orthanc::OrthancException 23/500 Incompatible format of the images
E1021 11:48:29.409151 PluginsManager.cpp:164] (ImageController) Orthanc::OrthancException 23/500 Incompatible format of the images
W1021 11:48:29.422116 PluginsManager.cpp:168] Cannot decode image using GDCM: Bad file format
E1021 11:48:29.424111 PluginsManager.cpp:197] Exception while invoking plugin service 6014: Not implemented yet
E1021 11:48:29.424111 PluginsManager.cpp:164] (ImageController) Orthanc::OrthancException 23/500 Incompatible format of the images
W1021 11:48:29.454033 PluginsManager.cpp:168] Cannot decode image using GDCM: Bad file format
E1021 11:48:29.457024 PluginsManager.cpp:197] Exception while invoking plugin service 6014: Not implemented yet
E1021 11:48:29.457024 PluginsManager.cpp:164] (ImageController) Orthanc::OrthancException 23/500 Incompatible format of the images
W1021 11:48:29.480960 PluginsManager.cpp:168] Cannot decode image using GDCM: Bad file format
E1021 11:48:29.483952 PluginsManager.cpp:197] Exception while invoking plugin service 6014: Not implemented yet
E1021 11:48:29.504896 PluginsManager.cpp:164] (ImageController) Orthanc::OrthancException 23/500 Incompatible format of the images
W1021 11:48:36.240878 PluginsManager.cpp:168] Cannot decode image using GDCM: GDCM cannot change the photometric interpretation
W1021 11:48:36.284761 PluginsManager.cpp:168] Cannot decode image using GDCM: GDCM cannot change the photometric interpretation

Please, find attached anonymized files if you want to reproduce the issue. This study is from a Philips Ingenia MRI with the last software update.

https://drive.google.com/file/d/1FhUspIB-TSzyg5GQxxWicJOYrMlwbBM4/view?usp=sharing

Is there a more specific way to see the GDCM error? Maybe, I can set another export option from the MRI.

Regards,

Tomas

These are Enhanced MRI images (0008,0016) SOPClassUID 1.2.840.10008.5.1.4.1.1.4.1
You can change this on Philips Ingenia MRI to send Classic MRI images (0008,0016) SOPClassUID 1.2.840.10008.5.1.4.1.1.4

Regards,
Robert