Hi Caspar,
The bridge building worked. I'm not sure what went wrong but a rebuild solved
the issue.
Matthias
From: Goch, Caspar Jonas [mailto:c.g...@dkfz-heidelberg.de]
Sent: Donnerstag, 23. März 2017 18:15
To: Noll, Matthias <matthias.n...@igd.fraunhofer.de>;
mitk-users@lists.sourceforge.net
Subject: AW: ITKVideoBridgeOpenCV in MITK 2016.11
Hi Matthias,
you can edit which ITK CMake options are set during superbuild in the
/CMakeExternals/ITK.cmake
looking at it there is the following piece of code:
if(MITK_USE_OpenCV)
list(APPEND additional_cmake_args
-DModule_ITKVideoBridgeOpenCV:BOOL=ON
-DOpenCV_DIR:PATH=${OpenCV_DIR}
)
endif()
So I would expect the bridge to be on in that case. If that does not work it is
probably a bug.
Best,
Caspar
Von: Noll, Matthias [mailto:matthias.n...@igd.fraunhofer.de]
Gesendet: Donnerstag, 23. März 2017 16:20
An: mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>
Betreff: [mitk-users] ITKVideoBridgeOpenCV in MITK 2016.11
Hi All,
I was wondering if there is an easy way to activate the ITKVideoBridgeOpenCV
for the new MITK 2016.11.
I do not find any option to trigger this. If I do it manually by editing the
cmake config for ITK-build in the MITK Superbuild folders, I can build the lib,
but not use it.
It seem that MITK uses a different path for all external projects. Thus,
plugins and models can't find the libs and headers. Again, copying the files
manually to the MITK/ep folders and adjusting the cmake files does not work,
because then MITK tries to find e.g. ITKVideoBridgeOpenCV.lib instead of
%LIB_PATH%\ITKVideoBridgeOpenCV-4.9.lib.
Long story short, it's a pain to get OpenCV Bride working with MITK.
If I've not missed anything, you guys should either build ITKOpenCVBridge by
default if MITK_USE_OpenCV is selected or include a cmake option to do so.
Regards,
Matthias
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users