diff Samples/MammographyDeepLearning/NOTES.txt @ 29:118adbad648f

sharing common properties between samples
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Jun 2024 14:44:37 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Samples/MammographyDeepLearning/NOTES.txt	Wed Jun 12 14:44:37 2024 +0200
@@ -0,0 +1,39 @@
+
+This sample Java plugin runs a deep learning algorithm for mammography.
+Note that contrarily to the "Basic" and "Dcm4Che" samples that can run
+using Java 1.8, this Java plugin requires Java 11.
+
+(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/MammographyDeepLearning
+# mvn compile package
+
+IMPORTANT: By default, this sample plugin targets GNU/Linux
+distributions. To run this plugin on Microsoft Windows or Apple macOS,
+make sure to uncomment the suitable classifier section in "pom.xml"
+(i.e., "win-x86_64", "osx-x86_64", or "osx-aarch64").
+
+
+(3) Start Orthanc:
+
+On Ubuntu 20.04 or 22.04 (replace "mainline" with the version of the
+Java plugin for Orthanc):
+
+# LD_LIBRARY_PATH=/usr/lib/jvm/java-11-openjdk-amd64/lib/server/ \
+  ORTHANC_JAVA_VERSION=mainline \
+  Orthanc ./configuration.json
+
+IMPORTANT: The DICOMweb plugin must be installed in the current
+directory.
+
+
+(4) Open the Orthanc Explorer interface at: http://localhost:8042/