[Insight-users] how to save a dicom file after processing with its original header infomation

Luis Ibanez luis.ibanez at kitware.com
Tue May 1 18:46:04 EDT 2007


Hi Chris,

What exactly was changed in the image content (the pixel data) ?

Did the intensities of the pixels changed ?

What was the pixel type of the original data ?

What was the pixel type that you used for
instantiating the itk::Image<> in your code ?


If you instantiate the image using the correct pixel type,
then the values should not change.

What tool are you using for looking at the DICOM image
pixel data ?



   Please let us know,


     Thanks



        Luis



------------------
Chris Lee wrote:
> Hi, itkers,
>  
> I need help about the problem how to save a dicom file after processing 
> with its orginal header infomation.
> In detail, I filter and segment a dicom image file, for example, CT image,
> and I want the result file can be saved in the format of dicom and with 
> the same header infomation( including image position, instance number 
> and so on ).
>  
> I learned from the example "DicomImageReadChangeHeaderWrite",.
> However, when I run this example, I made the paramaters Entry as " 
> 0020|0013", Value as "7".
> As a result, I found the output dicom image file with the correct 
> Instance Number as 7, and the image content (the pixel data) was changed.
>  
> Did I misunderstand this example?
> And if I want to achive my goal as the title said, what can I do?
>  
> Thank you.
> 
> -- 
> Best wishes,
> Chris
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list