[Insight-users] TR : wriring my own test data (follow up)

Olivier Sebastien Jerome Cros / Region Nordjylland osjc at rn.dk
Mon Aug 11 04:45:48 EDT 2008


Hi everyone,

Thanks to your help, I could understand the use of iterators for setting the voxels in a volume data image.

I am struggling with the Dicom in my head because I cannot figure out how to create an empty Dicom volume where I can write the data.

The thing I know about it is to use itkImageFileWriter header file and use some of the code from the given examples in the ITK Software Guide.

But when I read the examples, it uses the "reader->GetOutput();" from the reading of input Dicom serie.

Am I right? If so, Do I need to use some pre-existing Dicom dataset and copy the header to an output volume? Or is it possible to make my own header?

I am still a newby in that field. I am trying my best not to annoy you with that. But I m sitting alone in my hospital office, and I am really starting to lack to find some ideas on how to do it.

If you have any example on how to do it, it would be awsome.

Best regards,

Olivier.



More information about the Insight-users mailing list