[Insight-users] DicomImageReadChangeHeaderWrite doesn't change
header values
Mathieu Malaterre
mathieu.malaterre at kitware.com
Mon Dec 18 15:58:58 EST 2006
Angela Wang wrote:
> Hi,
>
> I am trying out DicomImageReadChangeHeaderWrite in Insight/Examples/IO.
>
> It is not changing the header entries of the output dicom file. I am
> running it with command line input arguments:
>
> InImage.dcm Out.dcm "0008|0012" 22220202
>
> which should change the "Instance Creation Date" value to 22220202.
> Nothing changes. I also tried to input the date as a string, still
> nothing changes.
> InImage.dcm Out.dcm "0008|0012" "22220202"
>
> Could someone help me out with this?
Angela,
This is not an entry you should be modifying (by definition). Why do
you want to change that value ? Are you sure you want to change the
Instance Creation Date and not Acquisition Date (0008|0022) ?
Thanks
Mathieu
More information about the Insight-users
mailing list