[Insight-users] itk::NumericSeriesFileNames problem when writing an
image series from a volume
a.bongers at mediri.com
a.bongers at mediri.com
Wed Jun 14 06:08:05 EDT 2006
Hi,
I am trying to write an series of images to disk.
When I use the NumericSeriesFileNames to set te filenames vector as is
told in the 2.4.0. documentation like this:
typedef itk::NumericSeriesFileNames NameGeneratorType;
NameGeneratorType::Pointer nameGenerator = NameGeneratorType::New();
std::string format = argv[2];
format += "%03d.";
format += argv[3]; // filename extension
nameGenerator->SetSeriesFormat( format.c_str() );
I run into problems since the "nameGenerator" does not have a method
called SetSeriesFormat.
Did this Class change since 2.4.0 (I'm using the cvs checkout from last
week) ? Is there another way to do it ?
Am I doing something wrong ?
Can anyone tell me a workaround ?
Thanks very much
André
More information about the Insight-users
mailing list