I've already tried this solution, and it doesn't work.<br>
Any other suggestions?<br><br><div><span class="gmail_quote">On 3/16/06, <b class="gmail_sendername">Karthik Krishnan</b> <<a href="mailto:Karthik.Krishnan@kitware.com">Karthik.Krishnan@kitware.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">try<br>DicomImageReadChangeHeaderWrite Image.dcm ImageChanged.dcm '0010|0010'<br>NewName<br>
<br>Most shells don't substitute escape sequences when you use single quotes.<br><br>Olivier Rousseau wrote:<br><br>> Hi,<br>><br>> I am trying to change the header of a dicom image on cygwin. I have<br>> no problem doing it on Linux using "DicomImageReadChangeHeaderWrite".
<br>> For example, to change the name of the patient, I just type<br>><br>> DicomImageReadChangeHeaderWrite Image.dcm ImageChanged.dcm 0010\|0010<br>> NewName<br>><br>> and it works perfectly (\| is needed for him to recognize "|"). On
<br>> cygwin, I didn't<br>> find any way to make him understand the character "|". Then I did look<br>> into the<br>> code and simply wrote:<br>><br>> itk::EncapsulateMetaData<std::string>( dictionary, "0010|0010",
<br>> "NewName" );<br>><br>> Again, it works on Linux, but not on cygwin (and I really need it to<br>> work on cygwin...)<br>> Does anyone has an idea of what I could do?<br>> Is there an other way to specify the entryId?
<br>><br>> Thanks!<br>> Olivier<br>><br>>------------------------------------------------------------------------<br>><br>>_______________________________________________<br>>Insight-users mailing list
<br>><a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>><br>><br></blockquote>
</div><br>