[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.


More information about the Insight-users mailing list