[MINC-users] DICOM to MINC conversion error

Andrew Janke a.janke at gmail.com
Wed Oct 11 19:44:04 EDT 2017


Hi Gavin,

This looks like a bug in dcm2mnc in which it fails to recognise the Y
as years on the end of the age.  There will need to be a patch for
this but in the meantime if age isn't that important to you, you could
delete the element in the input DICOM files?

  $ dcmodify -ea "(0010,1010)" <DICOM-FILES>

I recall that 0010,1010 is the tag for age. (if not, use dcmdump to find it).

And then run the conversion again?


a


On 12 October 2017 at 09:29, Gavin Elias <gavin.elias at mail.utoronto.ca> wrote:
> Hi,
>
> I have been converting dicom files to minc using the dcm2mnc command.  I preprocessed these dicom files in Horos on my laptop, where I decompressed, anonymized, and then exported them.  For certain files, however, the dcm2mnc command is failing and I am receiving the following error when I run it:  'ERROR: Age units (048Y) unknown.'
>
> I am able to convert these dicom files to nifti format with no issue and convert from nifti to dicom fine.  I have tried processing the same dicom files in other versions of Horos and have encountered the same error during dcm2mnc.  A colleague of mine has been able to preprocess the same dicom files in Horos on his own laptop and was able to subsequently convert them to minc with no problem.  I am not sure what is causing the dcm2mnc conversion to fail.
>
> Any help would be much appreciated.
>
> Thanks,
>
> Gavin
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users


More information about the MINC-users mailing list