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

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


Thanks!
I didn't find this example.
It should be ok!


> Laurent PAUL wrote:
>
>>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).
>>
>>
> Take a look at
>
> Examples/IO/DicomImageReadChangeHeaderWrite.cxx
>
> http://www.itk.org/cgi-bin/viewcvs.cgi/Examples/IO/DicomImageReadChangeHeaderWrite.cxx?rev=1.8&root=Insight&view=auto
>
> -Andinet
>
>
>>Any advice would be great!
>>
>>Thanks.
>>
>>Laurent.
>>
>>_______________________________________________
>>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