[Insight-users] DICOM Image spacing with GDCMImageIO

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Jan 20 08:18:54 EST 2009


On Tue, Jan 20, 2009 at 1:25 PM, C. A. Cois <cacois.itk at gmail.com> wrote:
> Mathieu,
>        Thanks for the info.  The output from gdcminfo is:
> MediaStorage is 1.2.840.10008.5.1.4.1.1.4.1 [Enhanced MR Image Storage]
> TransferSyntax is 1.2.840.10008.1.2.1 [Explicit VR Little Endian]
> NumberOfDimensions: 3
> Dimensions: (384,384,130)
> Origin: (74.1753,-277.826,199.565)
> Spacing: (0.9375,0.9375,0.940002)
> DirectionCosines: (0,1,0,0,0,-1)
> Rescale Intercept/Slope: (0,2.10842)
> SamplesPerPixel    :1
> BitsAllocated      :16
> BitsStored         :12
> HighBit            :11
> PixelRepresentation:0
> ScalarType found   :UINT16
> PhotometricInterpretation: MONOCHROME2
> PlanarConfiguration: 0
> TransferSyntax: 1.2.840.10008.1.2.1
> Orientation Label: SAGITTAL
> IOD Verification: failed
> Specifically, the spacing found is (0.9375,0.9375,0.940002), which looks
> like 1/2 the z-plane spacing as ITK reads. The image is attached.

thanks for the image. Indeed this is a bug in GDCM 1.2.x. Please log
it in at http://itk.org/Bug

Meanwhile you can recompile ITK and use a system installed GDCM. Take
the latest : gdcm 2.0.10 which more robust and report the correct
value.

Thanks !

-- 
Mathieu


More information about the Insight-users mailing list