[Insight-users] ITK to VTK (ITK ver. 3.20)
Ariel Hernán Curiale
curiale at gmail.com
Wed Jul 18 07:08:18 EDT 2012
Hi Benedikt,
As said Jothy you need to use an external project (ItkVtkGlue). I extend the QuickVisualization to support different types of image like double, float, etc.. and compile how to an external library. When I need to use this I include in the CMakeList like others (VTK, ITK, ...).
Saludos
__________________________________
| Ariel Hernán Curiale
| ETSI Telecomunicación
| Universidad de Valladolid
| Campus Miguel Delibes
| 47011 Valladolid, Spain
| Phone: 983-423000 ext. 5590
| Web: www.curiale.com.ar
|_________________________________
El 17/07/2012, a las 15:15, Benedikt Thelen escribió:
> Hi
> I'm new to ITK so please forgive the apparent simplicity of my
> question. We have a project which uses ITK 3.20 (I can't change to
> 4.x). I want to convert an ITK image to VTK. I found a lot of pages
> which show how to use the itk::ImageToVTKImageFilter.
>
> Unfortunately when I implement this code i receive the error
>
>
> Error 205 fatal error C1083: Cannot open include file:
> 'itkImageToVTKImageFilter.h': No such file or directory
>
> I tried to reconfigure itk so it will include the wrapitk package,
> which is not recommended (CMake warning).
>
> Is there any intelligent way to connect a itk pipeline to a vtk
> pipeline or simply to convert an itk image to vtk, again this has to
> be for itk 3.20.
>
> Thanks for your time
>
> Benedikt Thelen
>
>
> --
> --------------------------------------------------------------------------------------------------
> --------------------------------------------------------------------------------------------------
> Benedikt Thelen, Bsc CS, Research Assistant
> --------------------------------------------------------------------------------------------------
> Contact:
> Benedikt Thelen
> University of Bern
> Institute for Surgical Technology & Biomechanics
> Stauffacherstr. 78
> CH-3014 Bern
>
> phone +41 (0)31 631 5920
>
> E-M at il:
> benedikt.thelen at istb.unibe.ch
> -------------------------------------------------------------------------------------------------------
> -------------------------------------------------------------------------------------------------------
> _____________________________________
> 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/20120718/3e8d2452/attachment-0001.htm>
More information about the Insight-users
mailing list