<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">That header file is located in:</div><div class="gmail_default" style><font face="verdana, sans-serif">ITK4_Source\Modules\Video\BridgeOpenCV\include</font><br>
</div><div class="gmail_default" style><font face="verdana, sans-serif"><br></font></div><div class="gmail_default" style><font face="verdana, sans-serif">When configuring ITK with CMake make sure you enable Module_ITKVideoBridgeOpenCV.</font></div>
<div class="gmail_default" style><font face="verdana, sans-serif"><br></font></div><div class="gmail_default" style><font face="verdana, sans-serif">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:</font></div>
<div class="gmail_default" style><font face="verdana, sans-serif"><a href="http://www.itk.org/Wiki/ITK/Configuring_and_Building">http://www.itk.org/Wiki/ITK/Configuring_and_Building</a><br></font></div><div class="gmail_default" style>
<font face="verdana, sans-serif"><br></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 11, 2014 at 10:39 PM, donelron <span dir="ltr"><<a href="mailto:donelron@web.de" target="_blank">donelron@web.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everybody,<br>
<br>
I have done some basic work with OpenCV, but I am rather new to ITK. Now I<br>
would like to process videos with ITK and therefore I think I will need the<br>
itkOpenCVImageBridge.<br>
I dowlnloaded a tutorial including some exercises from here:<br>
<a href="https://github.com/InsightSoftwareConsortium/ITK-OpenCV-Bridge-Tutorial" target="_blank">https://github.com/InsightSoftwareConsortium/ITK-OpenCV-Bridge-Tutorial</a><br>
<br>
The content of the folders "ITKIntroduction" and "OpenCVIntroduction" work<br>
perfectly.<br>
However, using the bridge from OpenCV to itk (examples included in folder<br>
"ITKOpenCVBridge") is unfortunately not working.<br>
I can run CMake (either GUI or on console) for the ITKOpenCVBridge-example,<br>
but when I run the make-command on console I get:<br>
----------------------------------------------------------------------------------------<br>
[ 50%] Building CXX object<br>
exercise1/CMakeFiles/BasicFilteringITKOpenCVBridge.dir/BasicFilteringITKOpenCVBridge.o<br>
/home/ron/vtk_itk/DownloadedCode/ITK-OpenCV-Bridge-Tutorial-master/Exercises/ITKOpenCVBridge/exercise1/BasicFilteringITKOpenCVBridge.cxx:25:34:<br>
fatal error: itkOpenCVImageBridge.h: No such file or directory<br>
compilation terminated.<br>
make[2]: ***<br>
[exercise1/CMakeFiles/BasicFilteringITKOpenCVBridge.dir/BasicFilteringITKOpenCVBridge.o]<br>
Error 1<br>
make[1]: *** [exercise1/CMakeFiles/BasicFilteringITKOpenCVBridge.dir/all]<br>
Error 2<br>
make: *** [all] Error 2<br>
----------------------------------------------------------------------------------------<br>
<br>
I am on Ubuntu 12.04 and I have installed ITK 4.4. I was assuming that the<br>
headers and implementation for ITKOpenCVBridge should be included, but<br>
obviously they are not. Or maybe there is just some other issue that I<br>
missed?!?<br>
<br>
If possible, I am asking you to tell me<br>
1. Where exactly should I look to check if the header / implementation of<br>
the ITKOpenCVBridge is where it should be, ie on my hard drive. The headers<br>
and sources for itkImageFileReader, itkImageFileWriter and<br>
itkMedianImageFilter (which are all used in the "ITKIntroduction" example)<br>
are in /usr/local/include/ITK-4.4. Is there any other place which I should<br>
check for header and sources of ITKOpenCVBridge or can I be sure that they<br>
are missing?<br>
2. If headers and sources for ITKOpenCVBridge are missing, where can I find<br>
them and what do I need to do to make sure that they "match" the ones I am<br>
already using?<br>
3. What exactly do I have to do to install them? Do I just have to copy the<br>
files or is it more complicated?<br>
<br>
Many thanks in advance for your help!<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-users.7.n7.nabble.com/ITKOpenCVBridge-on-Ubuntu-12-04-fatal-error-itkOpenCVImageBridge-h-No-such-file-or-directory-tp33907.html" target="_blank">http://itk-users.7.n7.nabble.com/ITKOpenCVBridge-on-Ubuntu-12-04-fatal-error-itkOpenCVImageBridge-h-No-such-file-or-directory-tp33907.html</a><br>
Sent from the ITK - Users mailing list archive at Nabble.com.<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br></div>