[ITK] [ITK-users] ITK dicom reader wrong spacing
Matt McCormick
matt.mccormick at kitware.com
Thu Mar 26 08:47:13 EDT 2015
Hi Aiert,
VolView uses a different, custom method for loading DICOM series than
ITK-SNAP and Slicer.
Spacing in DICOM is tricky -- spacing and spacing-like information is
specified in many different tags. To find the tag that you are looking
for gdcmdump and similar tools can be used to inspect the tags.
HTH,
Matt
On Thu, Mar 26, 2015 at 8:18 AM, Amundarain, Aiert <aamundarain at ceit.es> wrote:
> Hi Matt.
>
> I have tried the solution you suggested but the final result is the same. I tried opening the dicom series in ITK-SNAP and Slicer with similar result. However, Volview loads the DICOM series properly. Do you know the difference among those programs when they load DICOM Series? all the programs are based in ITK.
>
> Thank you
>
> -----Original Message-----
> From: Matt McCormick [mailto:matt.mccormick at kitware.com]
> Sent: jueves, 19 de marzo de 2015 21:20
> To: Amundarain, Aiert
> Cc: Insight-users at itk.org
> Subject: Re: [ITK-users] ITK dicom reader wrong spacing
>
> Hi Aiert,
>
> It is possible to use DCMTK instead of GDCM. Turn on Module_ITKIODCMTK in your CMake configuration. See the itkDCMTKSeriesReadImageWriter.cxx test for example usage.
>
> HTH,
> Matt
>
> On Wed, Mar 18, 2015 at 7:43 AM, Amundarain, Aiert <aamundarain at ceit.es> wrote:
>> I have a DICOM Image serie that itk does not read properly. The x,y,z
>> spacing are incorrect and the return value is the default one (1,1,1).
>>
>> If I read this DICOM Image serie using vtk (vtkDICOMImageReader), the
>> reading is correct.
>>
>> Both softwares are developed by kitware but the results are different.
>>
>>
>>
>> Is is possible to read the dicom files using ITK without using the
>> gdcm library?
>>
>>
>>
>> Thank you.
>>
>>
>>
>>
>> _____________________________________
>> 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://public.kitware.com/mailman/listinfo/insight-users
>>
_____________________________________
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://public.kitware.com/mailman/listinfo/insight-users
More information about the Community
mailing list