[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2018-03-07.14:57:46]
This problem is resolved since release 0.4 of the DICOMweb plugin.
First, start the Orthanc server with Docker:
```
#!bash
sudo docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc-plugins:1.3.1
```
Secondly, in a separate terminal, run the following commands to retrieve the frame (transcoded to JPEG), and use the standard "display" tool from ImageMagick to display the frame (tested on Ubuntu 16.04):
```
#!bash
sudo apt-get install mpack
gdcmscu --store localhost 4242 Human_15x15_20x.dcm
STUDY_INSTANCE_UID='1.2.276.0.7230010.3.1.2.3252829876.2684.1426167758.662'
SERIES_INSTANCE_UID='1.2.276.0.7230010.3.1.3.3252829876.2684.1426167758.663'
SOP_INSTANCE_UID='1.2.276.0.7230010.3.1.4.3252829876.2684.1426167758.664'
FRAME='1'
TYPE='image/jpeg; transfer-syntax=1.2.840.10008.1.2.4.50'
curl -H "Accept: multipart/related; type=${TYPE}" -u orthanc:orthanc http://localhost:8042/dicom-web/studies/${STUDY_INSTANCE_UID}/series/${SERIES_INSTANCE_UID}/instances/${SOP_INSTANCE_UID}/frames/${FRAME} > answer
munpack -f answer
dd if=part1 of=tile.jpg bs=1 skip=2 # Skip the EOL characters that are preserved by munpack at the beginning of a multipart item
display ./tile.jpg
```
|