#!/bin/bash # Start the orthanc service nginx & Orthanc /etc/orthanc/orthanc.json & # for i in ls datasets/Task09_Spleen/imagesTs/*.nii.gz; do # plastimatch convert --patient-id patient1 --input $i --output-dicom test # done && \ plastimatch convert --patient-id patient1 --input datasets/Task09_Spleen/imagesTs/spleen_1.nii.gz --output-dicom test && \ python -m pynetdicom storescu 127.0.0.1 4242 test -aet MONAILABEL -r -v && \ # # Start the monailabel service monailabel start_server --app apps/radiology --studies http://127.0.0.1:8042/dicom-web --conf models deepedit # monailabel start_server --app apps/radiology --studies datasets/Task09_Spleen/imagesTr --conf models deepedit