[ITK-users] ITKOpenCVBridge on Ubuntu 12.04: fatal error: itkOpenCVImageBridge.h: No such file or directory
Dženan Zukić
dzenanz at gmail.com
Mon May 12 04:04:03 EDT 2014
That header file is located in:
ITK4_Source\Modules\Video\BridgeOpenCV\include
When configuring ITK with CMake make sure you
enable Module_ITKVideoBridgeOpenCV.
If you installed ITK using package manager, see if there are some
additional ITK-related packages which you didn't install. If that does not
help you, you can always download sources and build them:
http://www.itk.org/Wiki/ITK/Configuring_and_Building
On Sun, May 11, 2014 at 10:39 PM, donelron <donelron at web.de> wrote:
> Hi everybody,
>
> I have done some basic work with OpenCV, but I am rather new to ITK. Now I
> would like to process videos with ITK and therefore I think I will need the
> itkOpenCVImageBridge.
> I dowlnloaded a tutorial including some exercises from here:
> https://github.com/InsightSoftwareConsortium/ITK-OpenCV-Bridge-Tutorial
>
> The content of the folders "ITKIntroduction" and "OpenCVIntroduction" work
> perfectly.
> However, using the bridge from OpenCV to itk (examples included in folder
> "ITKOpenCVBridge") is unfortunately not working.
> I can run CMake (either GUI or on console) for the ITKOpenCVBridge-example,
> but when I run the make-command on console I get:
>
> ----------------------------------------------------------------------------------------
> [ 50%] Building CXX object
>
> exercise1/CMakeFiles/BasicFilteringITKOpenCVBridge.dir/BasicFilteringITKOpenCVBridge.o
>
> /home/ron/vtk_itk/DownloadedCode/ITK-OpenCV-Bridge-Tutorial-master/Exercises/ITKOpenCVBridge/exercise1/BasicFilteringITKOpenCVBridge.cxx:25:34:
> fatal error: itkOpenCVImageBridge.h: No such file or directory
> compilation terminated.
> make[2]: ***
>
> [exercise1/CMakeFiles/BasicFilteringITKOpenCVBridge.dir/BasicFilteringITKOpenCVBridge.o]
> Error 1
> make[1]: *** [exercise1/CMakeFiles/BasicFilteringITKOpenCVBridge.dir/all]
> Error 2
> make: *** [all] Error 2
>
> ----------------------------------------------------------------------------------------
>
> I am on Ubuntu 12.04 and I have installed ITK 4.4. I was assuming that the
> headers and implementation for ITKOpenCVBridge should be included, but
> obviously they are not. Or maybe there is just some other issue that I
> missed?!?
>
> If possible, I am asking you to tell me
> 1. Where exactly should I look to check if the header / implementation of
> the ITKOpenCVBridge is where it should be, ie on my hard drive. The headers
> and sources for itkImageFileReader, itkImageFileWriter and
> itkMedianImageFilter (which are all used in the "ITKIntroduction" example)
> are in /usr/local/include/ITK-4.4. Is there any other place which I should
> check for header and sources of ITKOpenCVBridge or can I be sure that they
> are missing?
> 2. If headers and sources for ITKOpenCVBridge are missing, where can I find
> them and what do I need to do to make sure that they "match" the ones I am
> already using?
> 3. What exactly do I have to do to install them? Do I just have to copy the
> files or is it more complicated?
>
> Many thanks in advance for your help!
>
>
>
>
>
> --
> View this message in context:
> http://itk-users.7.n7.nabble.com/ITKOpenCVBridge-on-Ubuntu-12-04-fatal-error-itkOpenCVImageBridge-h-No-such-file-or-directory-tp33907.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140512/48710198/attachment.html>
More information about the Insight-users
mailing list