BIC-MNI / minc-tools

Basic minc-tools from former minc repository
Other
29 stars 25 forks source link

dcm2mnc - phase encore direction information missing #103

Open ileppe opened 4 years ago

ileppe commented 4 years ago

Hi, The phase encoding polarity seems to be missing from the mincheader. It's needed for field mapping using phase encode reverse images (often used in dwi and fmri). From what I see, the information is in the dicom header in the CSA Header and is called PhaseEncodingDirectionPositive. for e.g. if phase encode is COL, a value of 1 means AP, 0 means PA

It would be great to add a mincheader field to report this value and might be a relatively easy addition to this section:

https://github.com/BIC-MNI/minc-tools/blob/e3825986359ecd75d82aa88ff2015d36e234e55d/conversion/dcm2mnc/dicom_to_minc.c#L802

Thanks!