[Insight-users] Basic Read/Write of DICOM Image - Wrong Metadata

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Sep 11 08:44:34 EDT 2008


All 3 files have the correct Pixel Spacing:

$ dcmdump im100.dcm rescaledWithMetadata.dcm directSave.dcm | grep "0028,0030"
(0028,0030) DS [0.267578\0.267578]                      #  18, 2 PixelSpacing
(0028,0030) DS [0.267578\0.267578]                      #  18, 2 PixelSpacing
(0028,0030) DS [0.267578\0.267578]                      #  18, 2 PixelSpacing

All files are correct IMHO.

-Mathieu


On Thu, Sep 11, 2008 at 2:35 PM, M. Wirtzfeld <wirtzfeld at rogers.com> wrote:
> Mathieu,
> Good morning.  Yes, the DICOM images in question are attached.  I have also
> attached the source-code shown in my original posting.
> The original 2-dimensional DICOM image is named, "im100.dcm".  The two
> created by the executed, compiled source-code are, "directSave.dcm" and
> "rescaledWithMetadata.dcm".
> It meta-data entry in question is not missing, but incorrect.
> In the original 2-dimensional DICOM image, "im100.dcm", the voxel size
> is 0.26757 by 0.26757.  However, in both the created images the second
> dimension voxel size is set to unity.
>
> Michael.
>
>
>
>
>
>
>
>
>
> On 9-Sep-08, at 5:40 PM, Mathieu Malaterre wrote:
>
> ok send me the two files: the original one and the second one. And
> tell me which tag you think is missing in the second one :)
> thanks
> On Tue, Sep 9, 2008 at 11:24 PM, M. Wirtzfeld <wirtzfeld at rogers.com> wrote:
>
> Hi Mathieu,
> I am not sure how to reply to your response?
> Voxel-size is an attribute of the DICOM image that I view using MicroView or
> MIPAV.  The DICOM image itself is created by the application that results
> from compilation and execution of the source-code I originally included.
> As for the "Secondary Capture Image Storage" object you refer to, I am a
> relatively new to ITK and I have only a basic understanding of its
> respective classes (http://www.itk.org/Doxygen/html/classes.html).  With
> this in mind I think we are talking at two different levels of
> understanding.
>
> Thanks,
> Michael.
>
>
>
> --
> Mathieu
>
> M. Wirtzfeld
> "There are three kinds of lies: lies, damned lies, and statistics."
> - Benjamin Disrael
>
>
>
>
>
>



-- 
Mathieu


More information about the Insight-users mailing list