[Insight-users] Changing header dicom!

Riccio Giancarlo riccio.giancarlo at gmail.com
Thu Jun 29 07:39:13 EDT 2006


Hi to all, 
i'm trying to change the header dicom of 1 image with this method:
 
DictionaryType & dict1 = itkImage->GetMetaDataDictionary();

itk::EncapsulateMetaData<std::string>( dict1, key, value );

ItkImage->SetMetaDataDictionary(dict1);

and this method really change the header value, but when i write the image
on disk and compare the headers (using "fc" dos command) the 2 files
(original and modified) are not the same (that's ok) because many header
values are modified, not the only value that i've modified.

However, if i do this operation with "DicomWorks" i obtain the wished
effect.

Thanks

Riccio Giancarlo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060629/8ddd0569/attachment-0001.html


More information about the Insight-users mailing list