Thank you Paul, that's great, I installed the latest c3d and I found the dicom conversion routines.
I am still not sure how to split a multiecho (multicomponent) series and I have troubles reading compressed Philips dicoms. My workflow is below. Any sggestions?
Example 1
c3d -dicom-series-list test1/ # <<- contains multiecho series, (8 echos + 1 map) * 12 slices, saved as classic Philips dicoms
SeriesNumber Dimensions NumImages SeriesDescription SeriesID
401 240x240x108 108 qT2 1.3.46.670589.11.17379.5.0.8760.2017063018473753733.4015240240
# the following works but exports all components in one nifti image, the -mcs flag makes no difference
c3d -dicom-series-read test1/ 1.3.46.670589.11.17379.5.0.8760.2017063018473753733.4015240240 -o test1.nii.gz
Example 2
c3d -dicom-series-list test2/ # <<- contains 1 compressed Philips dicom, all slices, echos, maps pertaining to one series in one dicom
SeriesNumber Dimensions NumImages SeriesDescription SeriesID
401 240x240x1 1 qT2 1.3.46.670589.11.17379.5.0.8760.2017063018473753733.401240240
c3d -dicom-series-read test2/ 1.3.46.670589.11.17379.5.0.8760.2017063018473753733.4015240240 -o test2.nii.gz
WARNING: In /Users/picsl/tk/bb3/Nightly/itk/v4.5.2/itk/Modules/IO/GDCM/src/itkGDCMSeriesFileNames.cxx, line 138
GDCMSeriesFileNames (0x7fb5f3213530): No Series were found
Exception caught of type 16ConvertException
When processing command: -dicom-series-read
Exception detail: Error: DICOM series not found. Directory 'test2/' does not appear to contain a series of DICOM images.
Thanks,
Alina