[ITK] [ITK-users] Getting slice thickness of a CT image

Pietro Nardelli pie.nardelli at gmail.com
Wed May 7 07:34:18 EDT 2014


Hi Jon,

thanks a lot for your answer. I still have some doubt though. I tried to
look at the examples you mentioned, but it seems to me that they are all
for 2D images (dicom image extracted by a series?). How can I get the slice
thickness of a specific slice, say the 3rd on for example, without the need
to specify the name of that slice? Is it possible to do that? Or I need to
know the name of the specific slice?
Also, what if instead of a dicom I have a nrrd file. How may I get the
slice thickness in this case?

Many many thanks for your help,
Pietro


2014-05-07 7:36 GMT+01:00 Jon Haitz Legarreta <jhlegarreta at vicomtech.org>:

> Hi Pietro,
> you can have a look at this example [1].
>
> On the other hand, if you are dealing with at DICOM dataset, the tag that
> stores the slice thickness information is 0018 | 0050 [2].
>
> In section 7.12.3 of the ITK SW Guide [3] you may find some additional
> example about how to get the information of the DICOM tags. Basically, ITK
> uses a library called GDCM to handle DICOM files, and by creating the
> appropriate GDCM objects, you'll be able to retrieve the value of any DICOM
> tag.
>
> HTH,
> JON HAITZ
>
> [1] http://www.itk.org/Wiki/ITK/Examples/DICOM/ResampleDICOM
> [2] http://medical.nema.org/Dicom/2011/11_06pu.pdf (page 22)
> [3] http://www.itk.org/ItkSoftwareGuide.pdf
>
>
> On 6 May 2014 18:47, Pietro Nardelli <pie.nardelli at gmail.com> wrote:
>
>> Hi guys,
>>
>> would you mind telling me if there a method to get the slice thickness of
>> a CT dataset in ITK? I have been looking it up online, but I could not find
>> a good explanation.
>>
>> Thank you very much for your help,
>> Pietro
>>
>> _____________________________________
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140507/bb448b0f/attachment-0002.html>
-------------- next part --------------
_____________________________________
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 Community mailing list