[Insight-users] change origin and spacing tags for Dicom output

Laurent PAUL Laurent.Paul at orto.ucl.ac.be
Thu Apr 27 11:35:33 EDT 2006


Hi users,

I resample a dicom volume from another volume.
So Spacing and origin, for example, change.
When I export the transformed volume in Dicom, I need to change these
information in dicom tags.

How to do that?
So far, I use GetMetaDataDictionaryArray() and set the dictionnary for the
output volume.
I know I can go through the dictionnary and change information, but it
seems to be difficult (I confuse MetaDataDictionaryArray and
MetaDataDictionary, and don't know which one to use).

Any advice would be great!

Thanks.

Laurent.



More information about the Insight-users mailing list