ITK Release 4/Video/HowToBuildVideoModules
From KitwarePublic
< ITK Release 4 | Video
Jump to navigationJump to search
Make sure you have the newer versions of OpenCV and VXl installed on your system with the following instructions:
1. Build OpenCV: We recommend to use opencv 2.4.2 or later.
Get the source code using Git: git clone git@github.com:Itseez/opencv.git
git checkout 2.4.2
Use CMake to build opencv with the following configuration:
BUILD_EXAMPLES = OFF BUILD_TESTS = OFF WITH_FFMPEG = ON
2. Build VXL:
svn co https://vxl.svn.sourceforge.net/svnroot/vxl/trunk vxl
The revision number tested is 34805 ( 2012-04-23). Later version should work (but not tested). se CMake to build opencv with the following configuration:
BUILD_EXAMPLES = OFF BUILD_DOCUMENTATION = OFF
3. Enable Video modules when configure ITK in CMake:
Module_ITKVideoCore = ON (turn on by default) Module_ITKVideoFiltering = ON (turn on by default) Module_ITKVideoIO = ON (turn on by default) Module_ITKVideoBridgeOpenCV = ON (need to manually toggle this option ON) Module_ITKVideoBridgeVXL =ON (need to manually toggle this option ON)
Then, set system library Paths for OpenCV and VXL accordingly:
OpenCV_DIR = <the path where you build the OpenCV> VXL_DIR = <the path where you build the VXL>