Skip to content

Commit

Permalink
Add Docker build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Sep 24, 2019
1 parent a1a3e26 commit a4a6b55
Show file tree
Hide file tree
Showing 31 changed files with 879 additions and 521 deletions.
Binary file removed .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
37 changes: 37 additions & 0 deletions DOCKER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Easiest way to get MRIcron pre-compiled
curl -fLO https://github.com/rordenlab/MRIcroGL12/releases/latest/download/MRIcroGL_linux.zip


Building MRIcron from source code using Docker


docker pull jgoerzen/debian-base-standard
docker run -td --stop-signal=SIGPWR --name=name jgoerzen/debian-base-standard
docker run -it jgoerzen/debian-base-standard /bin/bash

apt-get update
apt-get -yq install lazarus
apt-get -yq install git
cd ~
git clone https://github.com/neurolabusc/MRIcron.git
cd MRIcron
lazbuild -B ./mricron.lpr
# create distribution
mkdir ~/distro
mkdir ~/distro/MRIcron
cp ./MRIcron ~/distro/MRIcron/MRIcron
cp -a ./Resources/ ~/distro/MRIcron

Notes

1.) MRIcron works best if pigz and dcm2niix are installed.

2.) MRIcron does list depend on some common Linux packages, which you can find by typing "ldd MRIcron"


Run8

syntaxWM13.run08+orig.HEAD
syntaxWM13.run08+orig.BRIK

syntaxWM13.run08.nii
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ MRIcron is a viewer for brain imaging data.

You can download the software from several locations:

- Download the latest version from [NITRC](https://www.nitrc.org/projects/mricron).
- Download the [Github](https://github.com/neurolabusc/MRIcroGL/releases).
- Run the following command to get the latest version for Linux, Macintosh or Windows:
* `curl -fLO https://github.com/rordenlab/MRIcroGL12/releases/latest/download/MRIcroGL_linux.zip`
* `curl -fLO https://github.com/rordenlab/MRIcroGL12/releases/latest/download/MRIcroGL_macOS.dmg`
* `curl -fLO https://github.com/rordenlab/MRIcroGL12/releases/latest/download/MRIcroGL_windows.zip`
- Download from [NITRC](https://www.nitrc.org/projects/mricron).
- Download from [Github](https://github.com/neurolabusc/MRIcron/releases).
- Run the following command to download the latest version for Linux, Macintosh or Windows:
* `curl -fLO https://github.com/neurolabusc/MRIcron/releases/latest/download/MRIcron_linux.zip`
* `curl -fLO https://github.com/neurolabusc/MRIcron/releases/download/MRIcron_macOS.dmg`
* `curl -fLO https://github.com/neurolabusc/MRIcron/releases/latest/download/MRIcron_windows.zip`


Once you have downloaded and extracted the software, you may want to visit the [wiki](https://www.nitrc.org/plugins/mwiki/index.php/mricron:MainPage) for usage advice.

Expand All @@ -23,7 +24,9 @@ This software includes a [BSD license](https://opensource.org/licenses/BSD-2-Cla

##### Future

MRIcron is robust and stable, but development efforts have moved to MRIcroGL. The latest releases of MRIcron only include the MRIcron viewer and the dcm2niix image converter. Once upon a time, the software was distributed with statistics (NPM) and legacy image converter (dcm2nii). One can still download old releases of MRIcron from [NITRC](https://www.nitrc.org/projects/mricron) or compile these legacy tools (see next section).
MRIcron is robust and stable, but development efforts have moved to MRIcroGL. The primary disadvantage of MRIcroGL is that it requires support hardware accelerated OpenGL 3.3 graphics. Therefore, MRIcron remains useful for users of older computers or when connecting to remote supercomputer clusters. These users may also consider fsleyes which can be set up to only require [OpenGL 1.4 and indirect rendering](https://users.fmrib.ox.ac.uk/~paulmc/fsleyes/userdoc/latest/troubleshooting.html).

The latest releases of MRIcron only include the MRIcron viewer and the dcm2niix image converter. Once upon a time, the software was distributed with statistics (NPM) and legacy image converter (dcm2nii). One can still download old releases of MRIcron from [NITRC](https://www.nitrc.org/projects/mricron) or compile these legacy tools (see next section).

NPM is a tool for non parametric analysis of neuroimaging lesion data. dcm2nii is designed for converting the complicated DICOM format used in medical imaging to the simple NIfTI format preferred by scientists. These tools are mature and hopefully robust but no longer in active development.

Expand Down
257 changes: 0 additions & 257 deletions Resources/lut/1.lut

This file was deleted.

Loading

0 comments on commit a4a6b55

Please sign in to comment.