[Insight-users] ITK to VTK (ITK ver. 3.20)

Bill Lorensen bill.lorensen at gmail.com
Tue Jul 17 14:57:22 EDT 2012


Many of the itk wiki examples use vtk: http://itk.org/Wiki/ITK/Examples

For example:
http://itk.org/Wiki/ITK/Examples/ImageProcessing/RescaleIntensityImageFilter


On Tue, Jul 17, 2012 at 9:15 AM, Benedikt Thelen <
benedikt.thelen at istb.unibe.ch> wrote:

> 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
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120717/21eaf9cd/attachment.htm>


More information about the Insight-users mailing list