-
Notifications
You must be signed in to change notification settings - Fork 8
Workaround for DICOM dictionary problem (CemrgApp v2.X on macOS)
One of the known issues with CemrgApp v2.X is reading some DICOMs using MITK's native DICOM reader. This issue is prevalent in macOS (since Sierra). We provided our users with an alternative DICOM reader, which can be selected on the Scar Plugin, this requires the user to install Docker.
This page presents another workaround for this problem.
Homebrew is easy to install, just open a Terminal (Applications > Utilities > Terminal) and paste the following command
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
The script explains what it will do and then pauses before it does it.
To download wget
, after homebrew, simply paster the following:
brew install wget
Create a folder somewhere in your computer, in this example, we create it in the Documents folder. You can use the macOS Finder or in a Terminal paste the following:
mkdir -p ~/Documents/CemrgAppDICOM
If you have not already, open a Terminal and navigate to the new folder:
cd ~/Documents/CemrgAppDICOM
On the same Terminal from the previous step paste the following command:
# cd ~/Documents/CemrgAppDICOM # previous step
wget https://raw.githubusercontent.com/InsightSoftwareConsortium/DCMTK/master/dcmdata/data/dicom.dic
Note: The Terminal window should remain open the entire time, if you close it you will have to start from this section.
The following steps you will need to do every time you want to use the native DICOM reader in CemrgApp. Open a Terminal and navigate to the
folder where the dicom.dic
is stored:
cd ~/Documents/CemrgAppDICOM
Paste the following command on your Terminal:
export DCMDICTPATH=$(pwd)/dicom.dic
We are assuming you installed CemrgApp in the Applications Folder.
On your Terminal paste:
/Applications/CemrgApp/CemrgApp.app/Contents/MacOS/CemrgApp
The Cardiac Electro-Mechanics Research Group (CEMRG) at King's College London applies statistical, machine learning and simulation approaches to combine experimental and clinical data with physics and biology to study the physiology, pathology, diagnosis and treatment of the heart.