-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathREADME.txt
38 lines (28 loc) · 1.47 KB
/
README.txt
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
Getting the code
----------------
After you have cloned this repository, you will need to initialize the submodules:
git submodule update --init --recursive
If you ever update with 'git pull origin master', you must then do 'git submodule update --recursive'.
This pulls in all of the dependencies including Mask (which includes ITKHelpers and then Helpers), ITKVTKHelpers,
VTKHelpers, and ScribbleInteractorStyle.
Overview
--------
This software allows the user to "scribble" on the foreground and background of an image to seed a graph cuts based segmentation.
This implementation is based on "Graph Cuts and Efficient N-D Image Segmentation" by Yuri Boykov (IJCV 2006).
License
--------
GPLv3 (See LICENSE.txt). This is required because of the use of Kolmogorov's code.
Build notes
------------------
This repository does not depend on any external libraries. The only caveat is that it depends
on c++0x/11 parts of the c++ language. For Linux, this means it must be built with the flag
gnu++11. For Windows (Visual , we are working on finding the comparable solution/flag.
Dependencies
------------
- VTK >= 6
Must be configured with VTK_Group_Qt=ON.
- ITK >= 4
Must be configured with c++11 eneabled. To do this, you must add -std=gnu++11 to CMAKE_CXX_FLAGS when you configure ITK:
ccmake ~/src/ITK -DCMAKE_CXX_FLAGS=-std=gnu++11
NOTE: you cannot configure (ccmake) and THEN set CMAKE_CXX_FLAGS - you MUST include the gnu++11 in the ccmake command the very first time it is run.
- Qt >= 4.7.1