Skip to content

Commit

Permalink
Merge pull request #826 from UNFmontreal/fix/ge_magnitude
Browse files Browse the repository at this point in the history
add MAGNITUDE to ImageType for GE data
  • Loading branch information
neurolabusc authored Jul 24, 2024
2 parents 299aac0 + 08aeeef commit 6978699
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 6978699

Please sign in to comment.