3D Cell Annotator software.
It consists of a CUDA implementation of the selective segmentation method (SelectiveSegmentation) and source code patch to the segmentation module of the MITK to interact with the CUDA implementation.
Build instructions:
-
Clone and checkout the 2018.04 version of MITK:
https://github.com/MITK/MITK/tree/v2018.04
(commit ac93ed9baf)Make sure it can be built without errors using
cmake
andmake
. -
Clone the 3DCellAnnotator source:
git clone https://github.com/etasnadi/3DCellAnnotator.git
-
cmake
andmake
theSelectiveSegmentation
project. -
cmake
theMITKIntegration
project. (Set theMITK_PATH
variable to the root of the MITK source andPATCH_DIR
to theMITKIntegration/mitk-patch
directory in the 3DCellAnnotator source tree). In the build dir executepython patch.py apply
(this project only intended to generate a python script that copies/updates the required code for the MITK interface of theSelectiveSegmentation project
.
-
-
Go to the
MITK-build
directory under the MITK superbuild, and:Execute the
cmake
command again and set theSelective_DIR
to the build directory of theSelectiveSegmentation
using thecmake-gui
or something on your system. Also, enable theMITK_BUILD_org.mitk.gui.qt.segmentation
andMITK_BUILD_org.mitk.gui.qt.multilabelsegmentation
checboxes to include the MITK's segmentation plugin in the build.make install
.Copy the configuration file
settings_3DCA.conf
from the build dir of theSelectiveSegmentation
project to the installed porject'sbin
directory.
The app can be executed using bin/MitkWorkbench
.
See issue [#2] for a detailed example of how to build on Ubuntu 20.04!