comparison Samples/Dcm4Che/NOTES.txt @ 10:6b9433432ee0

added dcm4che sample
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 19 Oct 2023 12:20:46 +0200
parents
children 118adbad648f
comparison
equal deleted inserted replaced
9:88c1614fb3dc 10:6b9433432ee0
1
2 This sample plugin shows how to combine Orthanc with the dcm4che
3 library. To run this sample Java plugin:
4
5
6 (1) Make sure to build the C++ plugin:
7
8 # cd ../../Plugin/
9 # mkdir Build
10 # cd Build
11 # cmake .. -DCMAKE_BUILD_TYPE=Release
12 # make -j4
13
14
15 (2) Compile the Java plugin using Maven:
16
17 # cd ../../Samples/Dcm4Che
18 # mvn package
19
20
21 (3) Start Orthanc:
22
23 On Ubuntu 22.04:
24
25 # LD_LIBRARY_PATH=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/ Orthanc ./configuration.json
26
27
28 (4) Send an arbitrary DICOM file to Java:
29
30 # curl http://localhost:8042/dcm4che-parse --data-binary @sample.dcm