<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>I am trying to apply image processing with itk through vtk pipeline. It seems no problems with single itk filter, but did not work well with multiple itk filters. The pseudo code is as following:</p>
<p><br>
</p>
<p>in constructor:</p>
<p><br>
</p>
<p>m_ItkImage = ItkImageType::New();</p>
<p>m_ItkImageFilter = ItkImageFilterType::New();</p>
<p><br>
</p>
<p>in image processing function:</p>
<p><br>
</p>
<p>m_ItkImage gets an image from vtk pipeline</p>
<p><br>
</p>
<p>m_ItkImageFilter->SetInput(m_ItkImage);</p>
<p>m_ItkImageFilter->Update();</p>
<p><br>
</p>
<p><span>m_ItkImageFilter->GetOutput() was sent back to the vtk pipeline</span></p>
<p><br>
</p>
<p>I debugged the m_ItkImage and m_ItkImageFilter->GetOutput(), and saw that m_ItkImage was updated but m_ItkImageFilter was not through the vtk pipeline.</p>
<p><br>
</p>
<p>How can I make <span>m_ItkImageFilter->GetOutput() updated too through the vtk pipeline?</span></p>
<p><span><br>
</span></p>
<p><span>Thank you for your time.</span></p>
<p></p>
<div><br>
</div>
<p></p>
<p><br>
</p>
<p><br>
</p>
</div>
</body>
</html>