<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana size=2><SPAN class=375492811-29062006>Hi to all,
</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN class=375492811-29062006>i'm trying to
change the header dicom of 1 image with this method:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=375492811-29062006></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=375492811-29062006>
<P><FONT size=2><FONT face="Courier New">DictionaryType & dict1 = <SPAN
class=375492811-29062006>itkImage->GetMetaDataDictionary();</SPAN></FONT></FONT></P>
<P><FONT face="Courier New" size=2>itk::EncapsulateMetaData<std::string>(
dict1, key, value );</FONT></P>
<P><FONT face="Courier New"
size=2>ItkImage->SetMetaDataDictionary(dict1);</FONT></P>
<P><SPAN class=375492811-29062006><FONT face=Verdana size=2>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.</FONT></SPAN></P>
<P><SPAN class=375492811-29062006><FONT face=Verdana size=2>However, if i do
this operation with "DicomWorks" i obtain the wished
effect.</FONT></SPAN></P>
<P><SPAN class=375492811-29062006><FONT face=Verdana
size=2>Thanks</FONT></SPAN></P>
<P><SPAN class=375492811-29062006><FONT face=Verdana size=2>Riccio
Giancarlo</FONT></SPAN></P></SPAN></FONT></DIV></BODY></HTML>