DICOM gateway for publishing images in Kheops and for de-identification
7.7K
Karnak is a DICOM gateway for data de-identification and DICOM attribute normalization.
Karnak manages a continuous DICOM flow with a DICOM listener as input and a DICOM and/or DICOMWeb as output.
Karnak documentation is available online.
Prerequisites:
Use the following commands to build the two dependencies (dcm4che20 and weasis-dicom-tools):
git clone https://github.com/nroduit/dcm4che20.gitgit checkout imagemvn source:jar installgit clone https://github.com/nroduit/weasis-dicom-tools.gitgit checkout dcm4che6mvn clean installExecute the maven command mvn clean install -P production in the root directory of the project.
To configure and run Karnak with docker-compose, see karnak-docker.
Launch the components needed by Karnak (see below "Configure locally Mainzelliste and Postgres database with docker-compose")
Enable Spring and Spring Boot for the project
Create a Spring Boot launcher from main of StartApplication.java
-Djava.library.path="/tmp/dicom-opencv"ENVIRONMENT=DEVDB_PASSWORD=5!KAnN@%98%dDB_PORT=5433DB_USER=karnakDB_NAME=karnakDB_HOST=localhostMAINZELLISTE_HOSTNAME=localhostMAINZELLISTE_HTTP_PORT=8083MAINZELLISTE_ID_TYPES=pidMAINZELLISTE_API_KEY=changeThisApiKeyKARNAK_ADMIN=adminKARNAK_PASSWORD=adminKARNAK_LOGS_MAX_FILE_SIZE=100MBKARNAK_LOGS_MIN_INDEX=1KARNAK_LOGS_MAX_INDEX=10KARNAK_CLINICAL_LOGS_MAX_FILE_SIZE=100MBKARNAK_CLINICAL_LOGS_MIN_INDEX=1KARNAK_CLINICAL_LOGS_MAX_INDEX=10Note: the tmp folder must be adapted according to your system and the dicom-opencv must the last folder.
Minimum docker-compose version: 1.22
docker folder located in the root project folder..env.example into .env and modify it)docker-compose up -ddocker-compose logs -fdocker-compose downMinimum docker version: 19.03
Go on the root folder and launch the following command:
docker build -t local/karnak:latest -f Dockerfile .mvn clean install -P productiondocker build -t local/karnak:latest -f mvc/src/main/docker/Dockerfile .See karnak-docker
This project provides two modules:
Content type
Image
Digest
sha256:62b111626…
Size
322.5 MB
Last updated
10 months ago
docker pull osirixfoundation/karnak