[Insight-users] Output dicom series in new directory

Luis Ibanez luis.ibanez at kitware.com
Tue Jun 30 17:12:39 EDT 2009


Hi Ezequiel,

Have you created that directory in advance ?

Does the directory itself exist ?

Otherwise you will have to create it with

itksys::SystemTools::MakeDirectory( outputDirectory );


before you call Update in the writer.


   Regards,


      Luis



----------------------
Ezequiel Geremia wrote:
> Hi insight-users,
> 
> I wrote a code inspired from itkSoftwraeGuide to convert nrrd files into dicom series.
> 
> When running the executable on windows vista, the latter does not output the dicom slices in the directory specified through
> 
> typedef itk::GDCMSeriesFileNames NamesGeneratorType;
> NamesGeneratorType::Pointer namesGenerator = NamesGeneratorType::New();
> 
> namesGenerator->SetOutputDirectory( outputDirectory );
> 
> Do you have an idea on how to resolve that issue ?
> 
> Regards,
> 
> Ezequiel
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
> 


More information about the Insight-users mailing list