Software for medical image registration: http://elastix.isi.uu.nl/index.php
In the terminal:
-
Type:
cd
-
Type:
ls -a
(shows also hidden files) -
Open or create:
- Mac:
.bash_profile
by typing:nano .bash_profile
- Linux:
.bashrc
by typing:nano .bashrc
- Mac:
-
Type:
- Mac:
where
export PATH=yourelastixdir:$PATH export DYLD_LIBRARY_PATH=yourelastixdir:$DYLD_LIBRARY_PATH
yourelastixdir
is something similar to/anaconda3/lib/python3.7/site-packages/pykneer/elastix/Darwin/
- Linux:
where
export PATH=yourelastixdir:$PATH export LD_LIBRARY_PATH=yourelastixdir:$LD_LIBRARY_PATH
yourelastixdir
is something similar to/anaconda3/lib/python3.7/site-packages/pykneer/elastix/Linux/
- Mac:
-
Save changes by pressing: ctrl+o; return;
-
Close file by pressing: ctrl+x
-
Activate changes by typing:
- Mac:
source .bash_profile
- Linux:
source .bashrc
- Mac: