questions > Could you please help to retrive slice timing from DICOM header?
Showing 1-3 of 3 posts
Display:
Results per page:
Jun 22, 2022  01:06 PM | zhengchen cai
Could you please help to retrive slice timing from DICOM header?
Hello,

I have some minc fMRI data and would like to convert them to nii with JSON metadata that will be eventually BIDS validated. Could you please provide some hints about how to create SliceTiming filde in JSON from DICOM header? DICOM header is usually copied in minc header so I guess if I know how SliceTiming is calculated I could retrive it. For instance, I can get TR from dicom_0x0018:el_0x0080 = "1750". I guess SliceTimging must be calulated from some DICOM field. I tried to search in the source code of dcm2nii and stucked at data.CSA.sliceTiming, which I don't know how it is defined.

I guess I will also need PhaseEncodingDirection to know the order of SliceTiming?

Below is my MRI machine info. Thanks a lot. 

"Manufacturer":"Siemens",
"MagneticFieldStrength":3,
"SoftwareVersions":"syngo MR 2004A 4VA25A",
"RepetitionTime":1.75,
"ImagingFrequency":123.248,
"FlipAngle":90,
"PatientPosition":"HFS",
"SeriesDescription":"BOLD MOSAIC 64_TR1750",
"ConversionSoftwareVersion":"v1.0.20210317",
Jun 22, 2022  02:06 PM | Chris Rorden
RE: Could you please help to retrive slice timing from DICOM header?
dcm2niix handles converting DICOM to NIfTI, so MINC is out of scope. You may want to contact the MINC team. Vladimir Fonov provided a talk on the MINC format, so he may be a good contact
  https://nipy.discourse.group/t/data-format-pro-con-meeting-monday-14-march-15-00-edt/122

For Siemens VA-VE DICOMs, the slice timing is in the proprietary CSA header
   https://nipy.org/nibabel/dicom/siemens_csa.html
Specifically, you will want to extract the `MosaicRefAcqTimes` tag.


Your data is from ~2004 (VA25). The oldest archival dataset I have is from 2007 (VB12). Therefore, I am not sure if VA25 includes the CSA header  
   https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage#Archival_MRI
Jun 22, 2022  03:06 PM | zhengchen cai
RE: Could you please help to retrive slice timing from DICOM header?
Originally posted by Chris Rorden:
dcm2niix handles converting DICOM to NIfTI, so MINC is out of scope. You may want to contact the MINC team. Vladimir Fonov provided a talk on the MINC format, so he may be a good contact
  https://nipy.discourse.group/t/data-format-pro-con-meeting-monday-14-march-15-00-edt/122

For Siemens VA-VE DICOMs, the slice timing is in the proprietary CSA header
   https://nipy.org/nibabel/dicom/siemens_csa.html
Specifically, you will want to extract the `MosaicRefAcqTimes` tag.


Your data is from ~2004 (VA25). The oldest archival dataset I have is from 2007 (VB12). Therefore, I am not sure if VA25 includes the CSA header  
   https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage#Archival_MRI
Thanks a lot. The scanning date is 2007 from DICOM field in minc head dicom_0x0008:el_0x0020 = "20070925" ; I will check these resources and hopefully this can be solved.