<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Courier New, Courier, monospace">Hi Mathieu,<br>
<br>
I had a similar bug reading a single file DICOM volume. Instead of
reading the correct spacing from the DICOM header, it substituted the
spacing by (1,1,1).<br>
<br>
It's probably the best to upgrade the GDCM that is used in ITK.<br>
<br>
Regards,<br>
Matthias<br>
</font></font><br>
Mathieu Malaterre schrieb:
<blockquote
cite="mid:bf0c3b3f0901200518v74c6fd9fj4498b76682c5f5ca@mail.gmail.com"
type="cite">
<pre wrap="">On Tue, Jan 20, 2009 at 1:25 PM, C. A. Cois <a class="moz-txt-link-rfc2396E" href="mailto:cacois.itk@gmail.com"><cacois.itk@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->
thanks for the image. Indeed this is a bug in GDCM 1.2.x. Please log
it in at <a class="moz-txt-link-freetext" href="http://itk.org/Bug">http://itk.org/Bug</a>
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 !
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
| Dipl.-Ing. Matthias Keil
|
| Fraunhofer Institute for Computer Graphics (IGD)
| Cognitive Computing & Medical Imaging
| Fraunhoferstraße 5, 64283 Darmstadt, Germany
|
| phone : +49 6151 155 212
| fax : +49 6151 155 480
| mobile : +49 173 5709746
| e-mail : <a class="moz-txt-link-abbreviated" href="mailto:matthias.keil@igd.fraunhofer.de">matthias.keil@igd.fraunhofer.de</a>
| skype : matthias.keil.office
| web : <a class="moz-txt-link-freetext" href="http://www.igd.fraunhofer.de/~makeil">http://www.igd.fraunhofer.de/~makeil</a></pre>
</body>
</html>