[Insight-users] DICOM writer loses slice spacing

Matt McCormick matt.mccormick at kitware.com
Thu Jul 25 10:08:27 EDT 2013


Excellent.  Thanks!

On Thu, Jul 25, 2013 at 10:50 AM, Dženan Zukić <dzenanz at gmail.com> wrote:
> I submitted a bug report, MWE included.
> https://issues.itk.org/jira/browse/ITK-3176
>
>
> On Wed, Jul 24, 2013 at 9:44 AM, Dženan Zukić <dzenanz at gmail.com> wrote:
>>
>> Hi guys,
>>
>> I want to convert a nifti file into a dicom file (single 3D .dcm file, not
>> a series). For this I modified ImageReadWrite example (int dimension=3).
>> However, the converted file loses inter-slice spacing information (1.2 gets
>> changed into 1.0). The command I use is:
>> ImageReadWrite.exe example.mha example.dcm
>>
>> Converting into MetaImage works as expected (spacing preserved):
>> ImageReadWrite.exe example.mha example.mha
>>
>> Is this a bug in DICOM writer or am I doing something wrong?
>>
>> Regards,
>> Dženan
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list