[ITK] [ITK-users] SimpleITK GetGDCMSeriesFileNames() useSeriesDetails not found
dominik
dominik.hofer at gmail.com
Mon Sep 5 10:00:20 EDT 2016
Hey guys,
I've been trying to open a multi-series DICOM file in SimpleITK, but when I
try to execute GetGDCMSeriesFileNames it throws this error:
GetGDCMSeriesFileNames() got an unexpected keyword argument
'useSeriesDetails'
in the docs it clearly says that this is a parameters for this function.
My code is as follows:
reader = sitk.ImageSeriesReader()
dicom_seriesIDs = reader.GetGDCMSeriesIDs(path_dce)
dicom_names = reader.GetGDCMSeriesFileNames(path_dce, dicom_seriesIDs[20],
useSeriesDetails=True)
The version of SimpleITK is 0.9.1
When I try to execute the function without useSeriesDetails, it always takes
the first series from the DICOM file, regardless of the ID.
Does anyone know this problem or any other way to load multiple-series DICOM
files?
Cheers!
--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/SimpleITK-GetGDCMSeriesFileNames-useSeriesDetails-not-found-tp7589159.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.
_____________________________________
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