<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://stage.nitrcce.org/themes/nitrc3.0/css/rss.xsl.php?feed=https://stage.nitrcce.org/export/rss20_forum.php?forum_id=4703" ?>
<?xml-stylesheet type="text/css" href="https://stage.nitrcce.org/themes/nitrc3.0/css/rss.css" ?>
<rss version="2.0"> <channel>
  <title>NITRC dcm2nii Forum: questions</title>
  <link>http://stage.nitrcce.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>Sat, 11 Apr 2026 20:18:51 GMT</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NITRC RSS generator</generator>
  <item>
   <title>RE: Issue converting dicom to nifti for diffusion GE data</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;Understood. I would suggest you reach out to the maintainers of the health portal to understand why these DICOMs lack the Software Versions (0018,1020) tag. It is a Type 3 (optional) public tag, so it is not required by a valid DICOM. However, this is not only required to determine slice timing, but is crucial for auditing errors or changes in sequences. I would not consider these images to be of archival qaulity.&amp;lt;/p&amp;gt;</description>
   <author>Chris Rorden</author>
   <pubDate>Fri, 26 Jul 2024 14:43:11 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>RE: Issue converting dicom to nifti for diffusion GE data</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;Chris,&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;Thank you so much for your help. I suspect it is because the images are only provided via download from a 3DNet health portal, but I am guessing here!&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;Best wishes,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Amy&amp;lt;/p&amp;gt;</description>
   <author>Amy Jolly</author>
   <pubDate>Fri, 26 Jul 2024 7:09:08 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>RE: Issue converting dicom to nifti for diffusion GE data</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;Amy&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 for the sample dataset. The problem is described here&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp; https://github.com/rordenlab/dcm2niix/issues/838&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;This problem is now fixed in the development branch - and will be included in the next major release. In the mean time, you can compile your own copy of the development branch. As a bonus, if you build with the USE_OPENJPEG option it will convert your rare DICOM compression transfer syntax. So the steps would be:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;git clone --branch development https://github.com/rordenlab/dcm2niix.git&amp;lt;br&amp;gt;cd dcm2niix&amp;lt;br&amp;gt;mkdir build &amp;amp;amp;&amp;amp;amp; cd build&amp;lt;br&amp;gt;cmake -DZLIB_IMPLEMENTATION=Cloudflare -DUSE_JPEGLS=ON -DUSE_OPENJPEG=ON ..&amp;lt;br&amp;gt;make&amp;lt;br&amp;gt;cd bin&amp;lt;br&amp;gt;./dcm2niix /path/to/dicoms&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;This was a very unusual sequence, with a lot of derived images and RGB colored screenshots. Since the software version was stripped from the DICOMs, you will need to&amp;amp;nbsp; manually insert the slice timing fields into your EPI data. You may want to check the provenance of these images to see why the public software version tag was removed from your data - that is helpful for audits and to control variability. Beyond these points, the images themselves look terrific - the GE Premier's name is truth in advertising.&amp;lt;/p&amp;gt;</description>
   <author>Chris Rorden</author>
   <pubDate>Wed, 24 Jul 2024 23:39:12 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>RE: Issue converting dicom to nifti for diffusion GE data</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;I decompressed the DICOMs in this folder looping through using gdcmconv but still get a segmentation fault (without the Image Decompression issue).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Chris Rorden's dcm2niiX version v1.0.20240202&amp;lt;span class=&amp;quot;Apple-converted-space&amp;quot;&amp;gt;&amp;amp;nbsp; &amp;lt;/span&amp;gt;(JP2:OpenJPEG) (JP-LS:CharLS) Clang12.0.0 ARM (64-bit MacOS)&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Found 3960 DICOM file(s)&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Segmentation fault: 11&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Thanks,&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Amy&amp;lt;/span&amp;gt;&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;&amp;lt;em&amp;gt;Originally posted by Amy Jolly:&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Hi Chris,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Hope you are well. I am struggling to convert some clinical data I received from a GE Signa 750. I've ensured I've downloaded the lateset release for dcm2niix to handle some of the quirks of GE and it seems to convert some images but not others. The one image I want (dwi) is failing.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;This is the current error message I get:&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Chris Rorden's dcm2niiX version v1.0.20240202&amp;lt;span class=&amp;quot;Apple-converted-space&amp;quot;&amp;gt;&amp;amp;nbsp; &amp;lt;/span&amp;gt;(JP2:OpenJPEG) (JP-LS:CharLS) Clang14.0.3 ARM (64-bit MacOS)&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Found 3960 DICOM file(s)&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Image Decompression is new: please validate conversions&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Segmentation fault: 11&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Would you have any suggestions on what to do?&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Thanks,&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Amy&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;</description>
   <author>Amy Jolly</author>
   <pubDate>Wed, 24 Jul 2024 15:12:08 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>RE: Issue converting dicom to nifti for diffusion GE data</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;Hi Chris,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Sorry for the delay. Would I need to decompress each individual .dcm within a folder and then try to run dcm2niix again?&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For example in this folder alone there are ~3959 dicoms. I've just tried running gdcmconc -w command on a single .dcm file and it seems to have worked. Assume I just need to loop through them all to apply this decompression and then try dcm2niix again?&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,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Amy&amp;lt;/p&amp;gt;</description>
   <author>Amy Jolly</author>
   <pubDate>Wed, 24 Jul 2024 15:03:22 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>RE: Issue converting dicom to nifti for diffusion GE data</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;Does decompressing your DICOMs show errors with other tools? If not, can you convert the decompressed images with dcm2niix? You can use dcmdjpeg or gdcmconv to decompress your images, e.g.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;gdcmconv -w in.dcm out.dcm&amp;lt;/p&amp;gt;</description>
   <author>Chris Rorden</author>
   <pubDate>Fri, 19 Jul 2024 14:37:58 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>Issue converting dicom to nifti for diffusion GE data</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;Hi Chris,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Hope you are well. I am struggling to convert some clinical data I received from a GE Signa 750. I've ensured I've downloaded the lateset release for dcm2niix to handle some of the quirks of GE and it seems to convert some images but not others. The one image I want (dwi) is failing.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;This is the current error message I get:&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Chris Rorden's dcm2niiX version v1.0.20240202&amp;lt;span class=&amp;quot;Apple-converted-space&amp;quot;&amp;gt;&amp;amp;nbsp; &amp;lt;/span&amp;gt;(JP2:OpenJPEG) (JP-LS:CharLS) Clang14.0.3 ARM (64-bit MacOS)&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Found 3960 DICOM file(s)&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Image Decompression is new: please validate conversions&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Segmentation fault: 11&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Would you have any suggestions on what to do?&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Thanks,&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;p1&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;s1&amp;quot;&amp;gt;Amy&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;</description>
   <author>Amy Jolly</author>
   <pubDate>Fri, 19 Jul 2024 8:48:03 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=15251&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>RE: Philips enhanced dicoms</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=15186&amp;forum_id=4703</link>
   <description>&amp;lt;p&amp;gt;This question is underspecified, as I do not know what Philips warning is being referred to. However, it is worth noting that Philips DICOMs are impoverished, so the resulting BIDS sidecars will not contain the information you expect from other manufacturers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp; https://github.com/rordenlab/dcm2niix/tree/master/Philips#missing-information&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;More generally, the Philips enhanced DICOMs have a huge amount of redundant data, which makes the file sizes much larger than the enhanced images from Canon and Siemens, yet they lack the diversity of data required to fully analyze data. I would work with the Philips clinical scientists associated with your site to see if more data can be added.&amp;amp;nbsp;&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 would be particularly concerned about Philips DICOMs from R11.1 and later, as there are clearly examples where the data is not truthful.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;https://github.com/rordenlab/dcm2niix/issues/809&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;</description>
   <author>Chris Rorden</author>
   <pubDate>Tue, 11 Jun 2024 12:55:49 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=15186&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>Philips enhanced dicoms</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=15186&amp;forum_id=4703</link>
   <description>&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;&amp;lt;span data-ogsc=&amp;quot;black&amp;quot;&amp;gt;I was just wondering if anyone could explain the Philips enhanced dicom warning?&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;&amp;lt;span data-ogsc=&amp;quot;black&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;</description>
   <author>Matthew Sherwood</author>
   <pubDate>Tue, 11 Jun 2024 0:22:17 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=15186&amp;forum_id=4703</guid>
  </item>
  <item>
   <title>RE: Cropping 3D acquisitions throwing error</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=15168&amp;forum_id=4703</link>
   <description>&lt;p&gt;Here's a snippet from the output log from a previous participant:&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Chris Rorden's dcm2nii :: 2MAY2016 64bit BSD License &amp;nbsp;:: (upgrade to dcm2niix suggested)&lt;br&gt;reading preferences file /home/USER/.dcm2nii/dcm2nii.ini&lt;br&gt;Data will be exported to /outdir/&lt;br&gt;Validating 1328 potential DICOM images.&lt;br&gt;Found 1319 DICOM images.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;.....&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Converting 123/1017 &amp;nbsp;volumes: 1&lt;br&gt;file.dcm-&amp;gt;MPRAGETRAT1.nii&lt;br&gt;For slice timing correction: the slice order is Siemens-even interleaved ascending (2,4..,1,3...)&lt;br&gt;&amp;nbsp;brightest voxel was 1253: data will be saved as 16-bit signed integer.&lt;br&gt;Saving /outdir/MPRAGETRAT1.nii&lt;br&gt;Reorienting as /outdir/oMPRAGETRAT1.nii&lt;br&gt;Saving /outdir/oMPRAGETRAT1.nii&lt;br&gt;Cropping NIfTI/Analyze image /outdir2/oMPRAGETRAT1.nii&lt;br&gt;Saving /outdir/coMPRAGETRAT1.nii&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;.....&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Where the command calling dcm2nii (older version from an older script) was:&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;subprocess.call('dcm2nii -d N -e N -f N -i N -4 Y -g N -n Y -o '+ExpLoc+' -v Y '+glob(Folder[Day])[0]+' &amp;gt; '+ExpLoc+'/conversion.txt', shell=True).&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;dcm2nii was updated to dcm2niix, but calling dcm2niix with:&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;subprocess.call([&quot;dcm2niix&quot;, &quot;-f&quot;, &quot;%p&quot;, &quot;-x&quot;, &quot;y&quot;, &quot;-o&quot;, ExpLoc, glob(Folder[Day])[0]])&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;doesn't seem to crop or rotate the .dcm file. The main issue is that only one file is not being cropped and reoriented. I've run the above dcm2niix command in the terminal on the single file and it prompts the error mentioned in my earlier post.&lt;br&gt;&lt;br&gt;&lt;br&gt;EDIT: Ignore this post, I've since resolved the issue.&lt;/p&gt;</description>
   <author>hr3260</author>
   <pubDate>Thu, 06 Jun 2024 1:49:03 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=15168&amp;forum_id=4703</guid>
  </item>
 </channel>
</rss>
