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 30, 2024
1 parent aea081a commit 7f8d1d2
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 @@ -1413,6 +1413,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 7f8d1d2

Please sign in to comment.