Hello,<br><br>I am trying to use itk::VTKImageToImageFilter to to convert a VTK image to an ITK image. <br>The call  vtkImageToImageFilter-&gt;Update(); never returns but there is no error message and program simply stops. <br>
<br>vtkImageData* vtkInput;<br><br><br clear="all">        typedef itk::Image&lt;float, 3&gt; ImageType;<br><br>        typedef itk::VTKImageToImageFilter&lt;ImageType&gt; VTKImageToImageType;<br><br>        typename VTKImageToImageType::Pointer vtkImageToImageFilter = VTKImageToImageType::New();<br>
        QLOG_DEBUG() &lt;&lt; &quot;Prepared Filter&quot;;<br>        vtkImageToImageFilter-&gt;SetInput(vtkInput);<br>        QLOG_DEBUG() &lt;&lt; &quot;Set input to filter&quot;;<br>        vtkImageToImageFilter-&gt;Update();<br>
        QLOG_DEBUG() &lt;&lt; &quot;Updated filter&quot;;<br>        typename ImageType::ConstPointer itkOutput = vtkImageToImageFilter-&gt;GetOutput();<br>        QLOG_DEBUG() &lt;&lt; &quot;Got output&quot;;<br>        <br>
<br><br><br>-- <br><font color="#888888">Karl Diedrich, Ph.D.<br>Principal Engineer<br>----------------------------------------<br>
AZE Research and Development<br>1 Broadway, 14th floor<br>Cambridge, MA 02142<br>Tel: <a value="+16174751502">+1 (617) 475-1502</a><br>Cell: <a value="+19492288509">+1 (801) 350-1251</a><br><a href="http://www.azeofamerica.com/" target="_blank">www.azeofamerica.com</a></font><br>