Token Tracking Petri Net (TTPN) is a GUI to visualize activity detection.
tar xzf cmake-3.13.4.tar.gz
cd cmake-3.13.4
./configure --prefix=/home/aydogan/cmake
make
make install
tar -xvzf zlib-1.2.11.tar.gz
cd zlib-1.2.11
./configure --prefix=/usr/local/zlib
sudo make install
sudo apt install curl
Download hdf5-1.12.0.tar.gz from https://www.hdfgroup.org/downloads/hdf5/source-code/
tar -xvf hdf5-1.12.0.tar.gz
cd hdf5-1.12.0
./configure --prefix=$fld_install --with-zlib=$fld_install
make install
git clone http://github.com/Unidata/netcdf-c netcdf-c
mkdir netcdf-build
cd netcdf-build
cmake ../netcdf-c
Download the release from https://download.qt.io/official_releases/qt/5.14/5.14.2/
chmod +x qt-opensource-linux-x64-5.14.2.run
./qt-opensource-linux-x64-5.14.2.run
After downloading the source file of the VTK from the link https://www.vtk.org/files/release/8.2/VTK-8.2.0.tar.gz
mkdir projects
cd projects
tar xvfz VTK-8.2.0.tar.gz
mkdir VTK-build
cd VTK-build
ccmake ../VTK-8.2.0
With last command line cmake window will open.
Press c to configure then make VTKGroup_Qt ON and configure it again.
You will get error and it wil be solved once you change the direction of the Qt, Qt5_DIR, and after this change configure it.
Directions of other Qt are be filled automatically and another configuration is needed.
After generating the build with g, then VTK is ready.
-
Download tv14 from the master branch.
-
In the mainwindow.cpp, to get images on the TTPN, change the definition of PATH_TO_TV14_FILE with your path to the tv14 file in line 39.
-
In the CMakeLists.txt, change the VTK_DIR in line 6.
-
Download FeatureTracking from the master branch.
-
In the mainFeatureTrack.cpp, change the paths in line 234 and 947.
-
In the CMakeLists.txt, change the VTK_DIR in line 6, CMAKE_LIBRARY_PATH in line 25 and CMAKE_INCLUDE_PATH in line 26.
- Choose Open then choose the CMakeLists.txt from. Then The code will be shown like that
- From the left bottom buttons, run the code then the TTPN window will appear.