[ITK-users] SimpleITK - Reading different DICOM serie

Guillaume Lemaître g.lemaitre58 at gmail.com
Wed Nov 5 04:25:20 EST 2014


Hi all,

I build again the SimpleITK using the tag v0.8.0 from the git. Making the
same experiment, I do not get the same error of serie not found.
However, I have an issue as problematic since that whatever the serie ID
passed as argument, the dicom_names return belong to the first ID serie.

Did anybody got the issue with 0.8.0 build?

Cheers,

On 3 November 2014 22:38, Guillaume Lemaître <g.lemaitre58 at gmail.com> wrote:

> Hi Dave
>
> I build SimpleITK through anaconda recipe. I check and the versions are:
> SimpleITK 0.9.0 and ITK 4.6.1
> I will downgrade the build to be able to work. Let me know if I can help
> to fix this issue.
>
> Cheers,
>
> On 3 November 2014 22:23, David Chen <dchen at mail.nih.gov> wrote:
>
>> Hi Guillaume
>>
>> What version of SimpleITK are you running?  I tried your script using the
>> current git master, and it doesn’t work for me.  But when I ran it using
>> SimpleITK 0.8.0 it does.  So clearing something has gone wrong that we have
>> to figure out.  For now, try and use 0.8.0.
>>
>>
>> Cheers,
>> Dave
>>
>>
>> *From: *Guillaume Lemaître <g.lemaitre58 at gmail.com>
>> *Subject: **[ITK-users] SimpleITK - Reading different DICOM serie*
>> *Date: *October 31, 2014 at 7:03:36 PM EDT
>> *To: *"insight-users at itk.org" <insight-users at itk.org>
>>
>>
>> Hi all,
>>
>> I am currently using SimpleITK with python to read directly some DICOM
>> data.
>> My dataset is corresponding to an MRI modality composed of 40 series.
>> Each serie is a 3D volume.
>>
>> I would like to read the serie one-by-one. As a minimal example, I can
>> post the following code:
>>
>> reader = sitk.ImageSeriesReader()
>> # For each serie found
>> for serie in reader.GetGDCMSeriesIDs(path_to_data):
>>     # Get the dicom filename corresponding to the current serie
>>     dicom_names = reader.GetGDCMSeriesFileNames(path_to_data, serie)
>>     reader.SetFileNames(dicom_names)
>>     image = reader.Execute()
>>
>> I got the following error:
>>
>> WARNING: In
>> /home/lemaitre/anaconda/conda-bld/work/build/ITK/Modules/IO/GDCM/src/itkGDCMSeriesFileNames.cxx,
>> line 138
>> GDCMSeriesFileNames (0x3078840): No Series were found
>>
>> However, the output of reader.GetGDCMSeriesIDs(path_to_data) seems ok:
>> ('1.2.826.0.1.3680043.2.1125.1.12083572272639445972057901411530444',
>>  ............................ 40 lines ...........................
>>  '1.2.826.0.1.3680043.2.1125.1.98804240625293208256969403455867278')
>>
>> So my question is the following. What is the right way to passing the
>> serieID to the GetGDCMSeriesFileNames() function.
>>
>> Thanks in advance,
>>
>> Best regards,
>> --
>>
>>
>>
>>
>> *LEMAÎTRE GuillaumePhD CandiateMSc Erasmus Mundus ViBOT
>> (Vision-roBOTic)MSc Business Innovation and Technology Management*
>> g.lemaitre58 at gmail.com
>>
>>
>> *ViCOROB - Computer Vision and Robotic Team*
>> Universitat de Girona, Campus Montilivi, Edifici P-IV 17071 Girona
>> Tel. +34 972 41 98 12 - Fax. +34 972 41 82 59
>> http://vicorob.udg.es/
>>
>> *LE2I - Le Creusot*IUT Le Creusot, Laboratoire LE2I, 12 rue de la
>> Fonderie, 71200 Le Creusot
>> Tel. +33 3 85 73 10 90 - Fax. +33 3 85 73 10 97
>> http://le2i.cnrs.fr
>> https://sites.google.com/site/glemaitre58/
>> Vice - Chairman of A.S.C. Fours UFOLEP
>> Chairman of A.S.C. Fours FFC
>> Webmaster of http://ascfours.free.fr
>>
>> _____________________________________
>>
>> 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
>>
>>
>>
>
>
> --
>
>
>
>
> *LEMAÎTRE GuillaumePhD CandiateMSc Erasmus Mundus ViBOT
> (Vision-roBOTic)MSc Business Innovation and Technology Management*
> g.lemaitre58 at gmail.com
>
> *ViCOROB - Computer Vision and Robotic Team*
> Universitat de Girona, Campus Montilivi, Edifici P-IV 17071 Girona
> Tel. +34 972 41 98 12 - Fax. +34 972 41 82 59
> http://vicorob.udg.es/
>
> *LE2I - Le Creusot*IUT Le Creusot, Laboratoire LE2I, 12 rue de la
> Fonderie, 71200 Le Creusot
> Tel. +33 3 85 73 10 90 - Fax. +33 3 85 73 10 97
> http://le2i.cnrs.fr
>
> https://sites.google.com/site/glemaitre58/
> Vice - Chairman of A.S.C. Fours UFOLEP
> Chairman of A.S.C. Fours FFC
> Webmaster of http://ascfours.free.fr
>



-- 




*LEMAÎTRE GuillaumePhD CandiateMSc Erasmus Mundus ViBOT (Vision-roBOTic)MSc
Business Innovation and Technology Management*
g.lemaitre58 at gmail.com

*ViCOROB - Computer Vision and Robotic Team*
Universitat de Girona, Campus Montilivi, Edifici P-IV 17071 Girona
Tel. +34 972 41 98 12 - Fax. +34 972 41 82 59
http://vicorob.udg.es/

*LE2I - Le Creusot*IUT Le Creusot, Laboratoire LE2I, 12 rue de la Fonderie,
71200 Le Creusot
Tel. +33 3 85 73 10 90 - Fax. +33 3 85 73 10 97
http://le2i.cnrs.fr

https://sites.google.com/site/glemaitre58/
Vice - Chairman of A.S.C. Fours UFOLEP
Chairman of A.S.C. Fours FFC
Webmaster of http://ascfours.free.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20141105/4f7ab048/attachment.html>


More information about the Insight-users mailing list