[Insight-users] Convert dicom image to other format

Frank Zhao zhaofrank at hotmail.com
Tue Jun 22 13:57:39 EDT 2004


  After I load 3d Dicom image series, it displays correctly. The image is 
corrupted when I using following code to convert it into another format. But 
it convert correctly when I load a 3D gipl file.

What is the reason?

Thank you

Frank

=========================================
  typedef itk::ImageFileWriter< VolumeType > WriterType;
  WriterType::Pointer writer = WriterType::New();
  writer->SetFileName( "c:\\temp\\test_write.mhd" );
  writer->SetInput( m_Reader->GetOutput() );
  writer->Update();

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



More information about the Insight-users mailing list