From 5840e7132360c7095473db19f524e00ff2946ba5 Mon Sep 17 00:00:00 2001 From: neurolabusc Date: Sat, 28 Sep 2024 10:06:04 -0400 Subject: [PATCH] Enhanced Mediso (https://github.com/rordenlab/dcm2niix/issues/853) --- console/nii_dicom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/nii_dicom.cpp b/console/nii_dicom.cpp index 53addc9f..05605f13 100644 --- a/console/nii_dicom.cpp +++ b/console/nii_dicom.cpp @@ -4928,7 +4928,7 @@ struct TDICOMdata readDICOMx(char *fname, struct TDCMprefs *prefs, struct TDTI4D if (sqDepth < 0) sqDepth = 0; // should not happen, but protect for faulty anonymization // if we leave the folder MREchoSequence 0018,9114 - if ((nDimIndxVal > 0) && ((d.manufacturer == kMANUFACTURER_UNKNOWN) || (d.manufacturer == kMANUFACTURER_CANON) || (d.manufacturer == kMANUFACTURER_BRUKER) || (d.manufacturer == kMANUFACTURER_PHILIPS)) && (sqDepth00189114 >= sqDepth)) { + if ((nDimIndxVal > 0) && ((d.manufacturer == kMANUFACTURER_UNKNOWN) || (d.manufacturer == kMANUFACTURER_MEDISO) || (d.manufacturer == kMANUFACTURER_CANON) || (d.manufacturer == kMANUFACTURER_BRUKER) || (d.manufacturer == kMANUFACTURER_PHILIPS)) && (sqDepth00189114 >= sqDepth)) { sqDepth00189114 = -1; // triggered // printf("slice %d---> 0020,9157 = %d %d %d\n", inStackPositionNumber, d.dimensionIndexValues[0], d.dimensionIndexValues[1], d.dimensionIndexValues[2]); // d.aslFlags = kASL_FLAG_PHILIPS_LABEL; kASL_FLAG_PHILIPS_LABEL