<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://www.nitrc.org/themes/nitrc3.0/css/rss.xsl.php?feed=https://www.nitrc.org/export/rss20_forum.php?forum_id=4703" ?>
<?xml-stylesheet type="text/css" href="https://www.nitrc.org/themes/nitrc3.0/css/rss.css" ?>
<rss version="2.0"> <channel>
  <title>NITRC dcm2nii Forum: questions</title>
  <link>http://www.nitrc.org/forum/forum.php?forum_id=4703</link>
  <description>Help for dcm2nii</description>
  <language>en-us</language>
  <copyright>Copyright 2000-2026 NITRC OSI</copyright>
  <webMaster></webMaster>
  <lastBuildDate>Tue, 10 Mar 2026 18:57:18 GMT</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NITRC RSS generator</generator>
  <item>
   <title>RE: find DICOM</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15868&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;This forum is for dcm2niix which converts DICOM images to NIfTI, not the reverse. I suggest you contact the teams that share the ABIDE II dataset to see if they share the DICOM images.&amp;lt;/p&amp;gt;</description>
   <author>Chris Rorden</author>
   <pubDate>Sat, 27 Sep 2025 19:44:11 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15868&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>find DICOM</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15868&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;How can I find DICOM for ABIDE II ?&amp;amp;nbsp;&amp;lt;/p&amp;gt;</description>
   <author>marjan safari</author>
   <pubDate>Sat, 27 Sep 2025 17:43:56 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15868&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>RE: Option to convert only single series does not work</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15854&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;The -n option is an advanced feature that is used by MRIcroGL and FSLeyes to provide a user with a list of all of the DICOMs in a folder and allow them to select just one to load. Since a folder might have many repeats of a particular series, you need to know how dcm2niix encodes the details as a CRC code. Therefore, to use the -n option you run it twice, once with the value -1 to list CRCs and their corresponding series, and subsequently with the CRC of the series you wish to convert. To provide a concrete example with Siemens XA60, consider the validation dataset dcm_qa_xa60 where we only want to convert the series that used the CMRR research sequences and with iPAT=3 and multi-band = 1. We first query the folder to identify the CRC (which turns out to be 257128538) and then convert just that series:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;$ git clone https://github.com/neurolabusc/dcm_qa_xa60&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;$ dcm2niix -n -1 ./dcm_qa_xa60&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;Chris Rorden's dcm2niiX version v1.0.20250626&amp;amp;nbsp; Clang17.0.0 ARM (64-bit MacOS)&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;257128538 ./dcm_qa_xa60/dcm_qa_xa60_C2P_cmrr_mbep2d_bold_p3_mb1_20241004141746_8&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;amp;nbsp;./dcm_qa_xa60/In/XA60/DICOM/24100413/39280000/75739574&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;amp;nbsp;..&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;amp;nbsp; 3832686387 ./dcm_qa_xa60/dcm_qa_xa60_C2P_cmrr_mbep2d_bold_p2_mb5_20241003104115_12&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;amp;nbsp;./dcm_qa_xa60/In/XA61/DICOM/24100310/14440000/88972664&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;$ dcm2niix -n 257128538 ./dcm_qa_xa60&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;Chris Rorden's dcm2niiX version v1.0.20250626&amp;amp;nbsp; Clang17.0.0 ARM (64-bit MacOS)&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;Convert 3 DICOM as ./dcm_qa_xa60/dcm_qa_xa60_C2P_cmrr_mbep2d_bold_p3_mb1_20241004141746_8 (64x64x10x3)&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;Conversion required 0.269020 seconds (0.268941 for core code).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Note that when you query dcm2niix, it reports the following details for each series: CRC; filename; (image_dimensions). You can use the `-f` option to choose what details should be shown in the filename, which can help you parse what image you will convert, for example `-f %t_%s_%p` will provide the datetime_seriesNumber_protocolName.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;</description>
   <author>Chris Rorden</author>
   <pubDate>Thu, 04 Sep 2025 11:56:34 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15854&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>Option to convert only single series does not work</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15854&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;Hey there,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;first of all: great software!&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;dcm2niix works fine, as long as I do not use option -n (e.g., -n 4) to convert single series. From the output written to the terminal, everything seems to run quite fine. I also get the message &amp;quot;Conversion required 6.709000 seconds&amp;quot;, but no nifti-images are written to the output folder. As said, as long as I do not add option -n to command line, everything works as expected and nifti-output is received.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;I am using dcm2niiX version v1.0.20250505 with dicoms acquired with Siemens syngo XA60. I should say that I use to operate dcm2niix via matlab (system('PathTo/dicm2niix.exe')&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Hope, there is a solution?&amp;lt;/p&amp;gt;</description>
   <author>Christian Paret</author>
   <pubDate>Thu, 04 Sep 2025 11:12:35 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15854&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>RE: Not all metadata converts for .json (dcm2niix)</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15840&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;I would recommend using the current stable release &amp;lt;a class=&amp;quot;Link--primary Link&amp;quot; href=&amp;quot;https://github.com/rordenlab/dcm2niix/releases/tag/v1.0.20250506&amp;quot; data-view-component=&amp;quot;true&amp;quot; data-turbo-frame=&amp;quot;repo-content-turbo-frame&amp;quot;&amp;gt;(v1.0.20250506)&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;&amp;amp;nbsp; https://github.com/rordenlab/dcm2niix/releases&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;I am unsure what the question is - it seems like you are converting the images two different ways and getting diferent JSONs, but I do not know what the difference between the &amp;quot;direct&amp;quot; and &amp;quot;indirect&amp;quot; mode. I would convert the files like this:&amp;lt;br&amp;gt;&amp;amp;nbsp;dcm2niix /path/to/DICOMs&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Is there some other tool you are using? If so does the tool use the same version of dcm2niix (the JSON should report the version `&amp;quot;ConversionSoftwareVersion&amp;quot;: &amp;quot;v1.0.20250505&amp;quot;`).&amp;amp;nbsp;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;dcm2niix should populate the fields of the DICOM, those these vary from a system running V&amp;lt;em&amp;gt; (e.g. VE11) versus XA&amp;lt;/em&amp;gt; (e.g. after upgrade to XA30).&amp;amp;nbsp; Note that the CSA headers are crucial for many sequence details, so enure that your PACS or anonymization scripts do not remove these from the DICOMs before dcm2niix converts them.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;https://github.com/rordenlab/dcm2niix/tree/master/BIDS&amp;lt;/p&amp;gt;</description>
   <author>Chris Rorden</author>
   <pubDate>Mon, 25 Aug 2025 18:36:44 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15840&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>Not all metadata converts for .json (dcm2niix)</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15840&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;Hi,&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;I'm using dcm2niix v1.0.20241211 to convert my DICOMs to BIDS format. The scanner is a Siemens MAGNETOM Skyra.&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The data properly converts but the metadata in the .json file is much more bare than the .json I get if I just use dcm2niix directly on the DICOMS. Any reason as to why this might be?&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Thanks in advance!&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Kylie&amp;amp;nbsp;&amp;lt;/p&amp;gt;</description>
   <author>Kylie Isenburg</author>
   <pubDate>Mon, 25 Aug 2025 18:15:33 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15840&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>RE: v20241211 - Philips diffusion enhanced scans</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15774&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;Your images look fine. The issue is that Siemens DWI scans ALWAYS start with a b=0 volume, while this is not the case for Philips. Therefore, old versions of dcm2niix would reorder Philips volumes to make the first volume the b=0, which allows you to neglect the final parameter for FSL&amp;amp;rsquo;s eddy_correct: &amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp; eddy_correct &amp;amp;lt;4dinput&amp;amp;gt; &amp;amp;lt;4doutput&amp;amp;gt; &amp;amp;lt;reference_no&amp;amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;However, modern versions of FSL&amp;amp;rsquo;s eddy/topup assume that data is provided in the order temporarlly acquired, modelling motion for artifacts. Due to this, modern versions of dcm2niix do not reorder data. Regardless of which verion of dcm2niix you use, the bval and bvec orders correspond to the image order, so things should process fine, albeit the new FSL tools might give a slightly more precise answer for newer data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Note that with the old dcm2niix, the first volume is bright (as b=0 has higher SNR), while the subsequent volumes are dark. With the new version, the reverse is true, which you can see with the intensity timeline below.&amp;lt;/p&amp;gt;</description>
   <author>Chris Rorden</author>
   <pubDate>Thu, 12 Jun 2025 17:10:32 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15774&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>RE: v20241211 - Philips diffusion enhanced scans</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15774&amp;forum_id=4703</link>
   <description>&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;I would ensure you use the latest stable release (v1.0.20250506)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;I do not have access to Philips hardware - if issues persist, feel free to share a sample dataset with my institutional email&amp;lt;br&amp;gt;&amp;amp;nbsp; https://sc.edu/study/colleges_schools/artsandsciences/psychology/our_people/directory/rorden_chris.php&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;</description>
   <author>Chris Rorden</author>
   <pubDate>Wed, 11 Jun 2025 11:29:36 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15774&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>v20241211 - Philips diffusion enhanced scans</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15774&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;Dear Chris,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;We have recently updated our scripts to run the dcm2niix v20241211 version, and it does not seem to be working for our DTI scans anymore (Philips scanner, enhanced DICOMs). The output NIFTI is very dark and does not look as expected.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;We were previously converting using v1.0.20170624, which worked great for the DTI scans (enhanced DICOM), but would like to be able to move to the latest converter to avoid any other issues cropping up (I am not an expert here so unsure if using a legacy version could cause other unforseen issues).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;I have attached the output log from running dcm2niix v20241211 where you can see the warning messages about the DTI and the fieldmaps.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;There are also warning messages for our SWI sequences so again, I'm not sure if these are problematic. Visually the NIFTIs look fine for SWIs...&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;On the upside, the v2024 seems to be converting our functional MRI sequences (where it seemed a bit problematic on the older version).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If you have any advice on what we could try or if we're missing something obvious, that would be much appreciated.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Thank you!&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Best wishes&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Cheryl&amp;lt;/p&amp;gt;</description>
   <author>csee</author>
   <pubDate>Wed, 11 Jun 2025 11:12:08 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15774&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>RE: dcm2niix - Warning: Slice timing appears corrupted</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15714&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;Great. The validation datasets demonstrate that the latest stable release extracts slice times from a CimaX running XA61 for both the product and CMRR research sequences:&amp;lt;br&amp;gt;&amp;amp;nbsp; https://github.com/neurolabusc/dcm_qa_xa60/tree/main/Ref&amp;lt;br&amp;gt;Therefore, if you do not have slice times, my first guess is that critical DICOM tags were stripped from your dataset prior to dcm2niix (persumably from an anonymization stage). You can test this by downloading images directly from the scanner console to a USB device, without having a PACS manipulate the images. If you still have an error, upload the JSON that dcm2niix creates. This is also a great opportunity to work with the Siemens Research Collaboration Manager associated with your center.&amp;lt;/p&amp;gt;</description>
   <author>Chris Rorden</author>
   <pubDate>Tue, 15 Apr 2025 13:53:14 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15714&amp;forum_id=4703</guid>
  </item>
 </channel>
</rss>
