forked from lorensen/skullStrip
-
Notifications
You must be signed in to change notification settings - Fork 4
/
INSTALL
43 lines (36 loc) · 1.27 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
To build SkullStrip as an ITKv4 Remote module:
* Enable fetching
1) Go to: https://github.com/lorensen/skullStrip/blob/master/SkullStrip.remote.cmake
2) Right click on the "Raw" button and select "Save Link As..."
3) Save the file in: YOUR_ITK_SOURCE_DIR/Modules/Remote
A) If you use an interactive cmake (ccmake, cmake-gui or cmakesetup)
--------------------------------------------------------------------
* Configure
1) Go to your itk build directory and run cmake
2) Configure
* NOTE: for ITK 4.4 and earlier only
Fetch SkullStrip
1) Open the highlighted (red) cmake entry
2) Check the Fetch_SkullStrip box
3) Configure
* Enable SkullStrip
1) Configure (yes, do it again)
2) Open the highlighted (red) cmake entry
3) Check the Module_SkullStrip box
4) Configure
5) Generate
6) Exit cmake
B) If you use cmake from the command line
--------------------------------------
From your itk build directory
* Configure
1) NOTE: for ITK 4.4 and earlier only
cmake -DFetch_SkullStrip=ON YOUR_ITK_SOURCE_DIR
2) cmake -DModule_SkullStrip=ON YOUR_ITK_SOURCE_DIR
Once you have configured using A) or B)
---------------------------------------
* Build SkullStrip
From your itk build directory
1) make
* Test SkullStrip if testing is on
1) ctest -V -R SkullStrip