Hello insight-users,<br><br>we have built the ResampleDICOM example from <a href="http://www.itk.org/Wiki/ITK/Examples/DICOM/ResampleDICOM">http://www.itk.org/Wiki/ITK/Examples/DICOM/ResampleDICOM</a><br>linking it against<br>
<ul><li>ITK 3.20.1(after slightly modifying the CMakeLists.txt to use ITKIO), and</li><li>ITK 4.1</li></ul><p>using a DICOM directory including a single file.</p>We launched debugging sessions, and when using ITK 3.20.1 we get a <span style="font-family:courier new,monospace">inputSpacing </span>= (1.367, 1.367, 1), which is correct,<br>
but when we use ITK 4.1 we get <span style="font-family:courier new,monospace">inputSpacing </span>= (1, 1, 1). Something similar happens to the origin of the image read.<br>Reading that same DICOM file with other software apps we get the (1.367, 1.367, 1) values.<br>
<br>Is this a bug or perhaps there is a problem with our DICOM file?<br><br>Thanks for any hint and best regards,<br><br>Frederic Perez<br>