[Insight-users] DicomImageReadChangeHeaderWrite doesn't change header values

Angela Wang angela.y.wang at hsc.utah.edu
Mon Dec 18 17:08:10 EST 2006


Yes, I realize that, now, it is not one to be changed.  At first I was 
just trying to change a random item in the header entry and figure out 
how things work.  I picked the wrong one for the experiment.  It does 
work for other entries.

Thanks for your response.



Mathieu Malaterre wrote:
> 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
>


-- 
Angela Wang
Research Analyst
University of Utah
Center for Alzheimer's Care
Imaging and Research
650 Komas Drive, Suite 106-A
Salt Lake City,  UT 84108-1225
(801) 587-3694
angela.y.wang at hsc.utah.edu



More information about the Insight-users mailing list