diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Samples/Dcm4Che/NOTES.txt	Thu Oct 19 12:20:46 2023 +0200
@@ -0,0 +1,30 @@
+
+This sample plugin shows how to combine Orthanc with the dcm4che
+library. To run this sample Java plugin:
+
+
+(1) Make sure to build the C++ plugin:
+
+# cd ../../Plugin/
+# mkdir Build
+# cd Build
+# cmake .. -DCMAKE_BUILD_TYPE=Release
+# make -j4
+
+
+(2) Compile the Java plugin using Maven:
+
+# cd ../../Samples/Dcm4Che
+# mvn package
+
+
+(3) Start Orthanc:
+
+On Ubuntu 22.04:
+
+# LD_LIBRARY_PATH=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/ Orthanc ./configuration.json
+
+
+(4) Send an arbitrary DICOM file to Java:
+
+# curl http://localhost:8042/dcm4che-parse --data-binary @sample.dcm