mriconvert: File/Patient Information - include Patient Gender
Jolinda
jolinda at uoregon.edu
Wed Oct 11 10:23:07 PDT 2017
At this point it's not possible to add custom fields to that text file (that
may change when we add BIDS support to the next release). It's a little
extra work, but you can use a tool such as dcmdump (part of dcmtk) to pull
that information directly from the dicom file (the command in this case
would be dcmdump +P PatientSex [dicomfilename]). If you are using mcverter
as a part of a script, you can work that into your script.
If you use the gui version of MRIConvert, you could also do two conversions,
one of which is the "metaimage" format, because it is possible to add
arbitrary dicom fields to that header (the .mhd file), but it isn't very
friendly and doesn't save that info as a default. If you are doing that it's
just as easy (or easier) to manually look up the patient sex with the dicom
file viewer and then add that info manually.
Jolinda
-----Original Message-----
From: mriconvert-bounces at lists.uoregon.edu
[mailto:mriconvert-bounces at lists.uoregon.edu] On Behalf Of Scheel, Michael
Sent: Wednesday, October 11, 2017 8:30 AM
To: mriconvert at lists.uoregon.edu
Subject: mriconvert: File/Patient Information - include Patient Gender
Dear all,
i am a big fan of mriconvert partly because of the nice structured Text-File
with all meta information it creates during the DCM conversion.
Is there a way to adapt this? I need PatientSex to be displayed in that
information text file.
PatientsSex | 0010,0040
Any suggestions on how to achieve this?
Thanks and many regards, Michael
_______________________________________________
mriconvert mailing list
mriconvert at lists.uoregon.edu
https://lists-prod.uoregon.edu/mailman/listinfo/mriconvert
More information about the mriconvert
mailing list