From 2b96ee9fa26a4045434675b421d41725024937c9 Mon Sep 17 00:00:00 2001 From: neurolabusc Date: Thu, 10 Dec 2020 11:11:32 -0500 Subject: [PATCH] DICOM field map calibrated in Hz given name _fieldmaphz (https://github.com/rordenlab/dcm2niix/issues/455) --- console/nii_dicom.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/console/nii_dicom.cpp b/console/nii_dicom.cpp index ea295aaa..0b642fbb 100644 --- a/console/nii_dicom.cpp +++ b/console/nii_dicom.cpp @@ -5074,6 +5074,8 @@ uint32_t kSequenceDelimitationItemTag = 0xFFFE +(0xE0DD << 16 ); //d.isDerived = true; //this would have 'i- y' skip MoCo images isMoCo = true; } + if ((slen > 5) && strstr(d.imageType, "B0") && strstr(d.imageType, "MAP")) + d.isRealIsPhaseMapHz = true; if((slen > 5) && strstr(d.imageType, "_ADC_") ) d.isDerived = true; if((slen > 5) && strstr(d.imageType, "_TRACEW_") )