Skip to content

Cemrg Advanced Tools

Jose Alonso Solis-Lemus edited this page Feb 24, 2023 · 1 revision

Some functionalities in CemrgApp are calls to either an executable or a docker container. This page teaches you how to use them from the command line, in case that is helpful to you. We assume you have knowledge of how to move around in a terminal and some of its commands.

CemrgNet

You need to have Docker installed. Check our guides for all operating systems.

We assume your data is in folder DATA=/path/to/data, and that your file is called image.nii. You need to do the following:

# Copy your data to a file called test.nii
cp $DATA/image.nii $DATA/test.nii 
# Run docker container
docker run --rm --volume=$DATA:/data orodrazeghi/cemrgnet 

Output is saved to a file called output.nii inside your same $DATA folder

Clone this wiki locally