[Insight-users] ResampleImageFilter crashes in release mode - an error in SoftwareGuide

Michael Schildt michael.schildt at ifn-magdeburg.de
Fri Jul 3 04:47:11 EDT 2009


Hello Luis and Sharath,

Thank you very much for your hints. I will test them later and hopefully 
find the problem.
For now, i just want to mark the error in the itkSoftwareGuide.pdf.
On page 28 (section 3.5 Data Processing Pipeline) actually page 59 of 
the pdf, the example at the bottom. The lines for instantiation of the 
writer are:

itk::ImageFileWriter::Pointer<FloatImage2DType> writer;
writer = itk::ImageFileWriter::Pointer<FloatImage2DType>::New();

but the template parameter is in the wrong position and it should be

itk::ImageFileWriter<FloatImage2DType>::Pointer writer;
writer = itk::ImageFileWriter<FloatImage2DType>::Pointer::New();

or else the example will not compile.

Best Requards,
    Michael Schildt




More information about the Insight-users mailing list