View repo
·
Report Bug
·
Request Feature
SeriesMaker-AIDE is a simple AIDE app for testing DICOM end-to-end connectivity with clinical information systems such as PACS or scanner software.
SeriesMaker-AIDE performs the following:
- Ingests a DICOM Series
- Duplicates the DICOM Series
- Edits some basic DICOM metadata
- SeriesNumber
- InstanceNumber
- Randomly shuffles PixelData to differentiate edited DICOM Series from original datasets in the Study
- Outputs the edited DICOM Series
The purpose of SeriesMaker-AIDE is to create a new dummy DICOM Series which can be output to the originating DICOM Study. This is useful for testing and verifying AIDE export destinations.
- Download
git clone https://github.com/GSTT-CSC/SeriesMaker-AIDE.git
- Setup virtual env
cd SeriesMaker-AIDE
python -m venv venv
source venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install -r app/requirements.txt
- Create
input
andoutput
directories
mkdir input output
- Ensure Python venv running
- Copy DICOM
.dcm
files toinput/
directory
monai-deploy exec app -i input/ -o -output/
# alternatively:
python app -i input/ -o output/
- Ensure Python venv running
- Ensure Docker running
- Copy DICOM
.dcm
files toinput/
directory
# Package MAP
monai-deploy package app --tag ghcr.io/gstt-csc/seriesmaker-aide/map:0.1.1 -r app/requirements.txt -l DEBUG
# Test MAP with MONAI Deploy
monai-deploy run ghcr.io/gstt-csc/seriesmaker-aide/map:0.1.1 input/ output/
# Push MAP to GHCR
docker push ghcr.io/gstt-csc/seriesmaker-aide/map:0.1.1
Enter Docker container for testing
docker run --gpus all -it --rm -v /SeriesMaker-AIDE/input:/var/monai/input/ --entrypoint /bin/bash ghcr.io/gstt-csc/seriesmaker-aide/map:0.1.1
Run on specified GPU if machine has >1 available
CUDA_VISIBLE_DEVICES=2 monai-deploy run ghcr.io/gstt-csc/seriesmaker-aide/map:0.1.1 input/ output/