[Insight-users] itk image writer

Lorensen, William E (Research) lorensen at crd.ge.com
Mon Jul 12 09:37:06 EDT 2004


ITK does not create the directory if it does not exist. This is something an
application should do.

The ImageSeriesWriter will save a volume as a series of slices. The test
Code/IO/itkImageSeriesWriterTest.cxx shows how to do this.

Bill

-----Original Message-----
From: salah [mailto:salah at gris.uni-tuebingen.de]
Sent: Monday, July 12, 2004 7:59 AM
To: ITK Users (E-Mail)
Subject: [Insight-users] itk image writer


Hello all,

an itk image writer must be fed with the full path name of the output file,
right?
However, it can NOT create directories if they do not exist. Is that also
right? 

I want actually to save a volume image (3d itk image) into individual raw
slices. 
(possible each slice in two .mhd + .raw files). 

Can the itk image writer do this directly??

However, I wrote a function that does this. I always created the ourput
directoy from
outside the program. Can not the itk writer create it for me??


many thanks,
Zein


_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list