[Insight-users] VTKImageToImageFilter / SmartPointers

Karthik Krishnan Karthik.Krishnan at kitware.com
Sun Feb 19 11:16:51 EST 2006


On Fri, 2006-02-17 at 13:30 +0100, Marta Kersten wrote:

> convert this to an itk::Image. I am using the itk::VTKImageToImageFilter  
> but my problem is that the filter returns a constant and I need it to not  
> be constant -- can someone help me out?
>   	
> 	VtkToItkConnectorType *filter = VtkToItkConnectorType::New();
> 	filter->SetInput(volume);
> 

filter->Update();

> 	ImageType::ConstPointer itkImage = filter->GetOutput();
> 
> /************this doesn't work**********************/




More information about the Insight-users mailing list