Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.nroduit:weasis-dicom-tools:5.32.0.2'
}
dependencies {
implementation("com.github.nroduit:weasis-dicom-tools:5.32.0.2")
}
<dependency>
<groupId>com.github.nroduit</groupId>
<artifactId>weasis-dicom-tools</artifactId>
<version>5.32.0.2</version>
</dependency>
libraryDependencies += "com.github.nroduit" % "weasis-dicom-tools" % "5.32.0.2"
:dependencies [[com.github.nroduit/weasis-dicom-tools "5.32.0.2"]]
This project provides a DICOM API for C-Echo , C-Move , C-Get , C-Find and C-Store based on dcm4che3. The implementation allows to follow the progression of an DICOM operation like C-Move and gives its status. It contains also some other classes for worklist SCU, strore SCP, dicomization, DICOM forward with attributes modification on the fly.
It also provides an API to convert and manipulate images from DICOM files.
Here are the main features of dcm2dcm:
Here are the main features of dcm2image:
This library is used by Weasis, Karnak and weasis-pacs-connector.
Getting started: see the test classes
Code formatter: google-java-format
See CHANGELOG
Prerequisites: JDK 17 and Maven 3
The master branch requires Java 17+ and old branches are:
Execute the maven command mvn clean install
in the root directory of the project.
Note: This project has a native library dependency which must be included in your application and launched with a specific JVM option (e.g. '-Djava.library.path="path/of/native/lib"'). Additional systems and architectures of the native library are available directly from this Maven repository.