[Insight-users] about changing itk image to vtk image

Yixun Liu yxliu at fudan.edu.cn
Thu Apr 27 20:10:55 EDT 2006


Hi,

I read dicom using itk and change it to vtk to visualize it,

  //convert itk image to vtk image
    this->connectorMRI = ConnectorType::New();
 this->connectorMRI->SetInput(this->dicomReader->GetOutput());
 try
 { 
  this->connectorMRI->Update();
 }
 catch( itk::ExceptionObject & excp )
 {
  std::cerr << "Error reading the series " << std::endl;
  std::cerr << excp << std::endl;
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060428/33be84d3/attachment.html


More information about the Insight-users mailing list