Page MenuHomePhabricator

Integrate VMTK
Closed, WontfixPublic

Description

Integrate the Vascular Modeling Toolkit (http://www.vmtk.org/).

Event Timeline

New remote branch pushed: bug-15528-IntegrateVMTK

@Jasmin Metzger

Do you still need VMTK or can we close this bug?

We decided to integrate VMTK. Since the brench above a lot has changed so we need to start over again.

What I did so far:

git clone https://github.com/vmtk/vmtk
cd vmtk
git checkout vtk6

Set vmtk/vtkVmtk as source directory, not vmtk!

Set ITK_DIR and VTK_DIR to the MITK superbuild versions of these libraries, e.g., D:\MITK-sb\ep\lib\cmake\[ITK|vtk]-*

Configuring and generating should succeed now. However, there are some indirect build dependencies we do not want. In projects that fail when building, remove all OpenCV libraries from linker input and add gdcmDSED instead. Minor: in debug build, all gdcm* linker inputs should be gdcm*d.

TODOs:

  • We need to check why OpenCV is drawn in and how to prevent this.
  • Investigate gdcmDSED related issue.
  • With knowledge from above, write integration script.

VMTK tarball

User kislinsk has pushed new remote branch:

bug-15528-IntegrateVMTK2

I began writing the integration script and it is already working on Windows without OpenCV (tested Release config so far).

Regarding the gdcmDSED issue from above: We patched this as dependency into ITK previously but it wasn't included in the latest patch file. Patched it again.

Regarding the OpenCV issue: If OpenCV is enabled, the ITKOpenCVVideoBridge is enabled in ITK which is why there is a dependency to OpenCV. We need to tell VMTK at least about the path of the libs (CMAKE_LIBRARY_PATH?).

Next steps:

  • Test for debug build.
  • Test/fix OpenCV enabled builds.
  • Test/fix on Ubuntu.
  • Test/fix on MacOS X.

Works on Windows, debug and release configurations, OpenCV and Python enabled/disabled. Checking on Ubuntu now...

Works on Mac OS X. The build system integration seems to be finished. I'll work on a VMTK-based plugin now.

@Marco: Centerlines are surface-based in VMTK, so there is no direct way of skeletonizing vessel segmentations.

[eed1ed]: Merge branch 'bug-15528-IntegrateVMTK2'

Merged commits:

2015-09-03 11:39:54 Stefan Kislinskiy [18429f]
Removed VMTK test module.


2015-08-31 14:31:51 Stefan Kislinskiy [076f5f]
Fixed FindVMTK script.


2015-08-25 12:35:32 Stefan Kislinskiy [d62943]
Fixed patch and set URL to official download location.


2015-08-24 16:16:37 Stefan Kislinskiy [eb74bd]
Merge branch 'bug-15528-IntegrateVMTK2' of mitk.org:MITK into bug-15528-IntegrateVMTK2


2015-08-24 16:01:26 Stefan Kislinskiy [f55e6a]
Disable Python wrapping.


2015-08-24 14:12:03 Stefan Kislinskiy [0baa39]
Added optional OpenCV dependency to patch.


2015-08-20 14:59:10 Stefan Kislinskiy [31b943]
Added patch to correctly import GDCM targets to VMTK.


2015-08-18 15:29:30 Stefan Kislinskiy [3ca356]
Added VMTK test module.


2015-08-18 15:28:24 Stefan Kislinskiy [54ad48]
Wrote find script for VMTK.


2015-08-18 15:27:32 Stefan Kislinskiy [b6c78e]
Added VMTK to MITK build scripts.


2015-08-18 15:26:29 Stefan Kislinskiy [c1b0e7]
Wrote external project script for VMTK.


2015-08-18 15:24:29 Stefan Kislinskiy [a85236]
Explicitly make gdcmDSED a dependency of ITKGDCM.

User kislinsk has pushed new remote branch:

bug-15528-VesselsPlugin
kislinsk claimed this task.