[Insight-users] DICOM writer loses slice spacing

Dženan Zukić dzenanz at gmail.com
Thu Jul 25 06:50:39 EDT 2013


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130725/53e68a3d/attachment.htm>


More information about the Insight-users mailing list