Skip to content

Commit

Permalink
add MAGNITUDE to ImageType for GE data, necessary for heudiconv logic
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinsard committed May 31, 2024
1 parent f9ad69e commit 08aeeef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions console/nii_dicom_batch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1415,6 +1415,8 @@ tse3d: T2*/
} else
isSep = true;
}
if ((d.isHasMagnitude) && ((d.manufacturer == kMANUFACTURER_GE) || (strstr(d.imageType, "_MAGNITUDE_") == NULL)))
fprintf(fp, "\", \"MAGNITUDE");
if ((d.isHasPhase) && ((d.manufacturer == kMANUFACTURER_GE) || (strstr(d.imageType, "_PHASE_") == NULL)))
fprintf(fp, "\", \"PHASE"); //"_IMAGINARY_"
if ((d.isHasReal) && ((d.manufacturer == kMANUFACTURER_GE) || (strstr(d.imageType, "_REAL_") == NULL)))
Expand Down

0 comments on commit 08aeeef

Please sign in to comment.