Skip to content

Commit

Permalink
Merge pull request #674 from cjohnevans/siemens_minnesota_dicom
Browse files Browse the repository at this point in the history
  • Loading branch information
HJZollner authored Nov 15, 2023
2 parents 20958cb + 314d780 commit bc78029
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion libraries/FID-A/inputOutput/io_loadspec_dicom.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,19 @@
% Get the header of the first file to make some decisions.
DicomHeader = read_dcm_header(filesInFolder{1});
seqtype = DicomHeader.seqtype;
seqorig = DicomHeader.seqorig;

if isfield(DicomHeader, 'seqorig')
seqorig = DicomHeader.seqorig;
else
% deal with missing seqorig field for dicom data load on Siemens Minnesota
% sequences (Auerbach and Deelchand versions, VB17A & VE11C)
if contains(DicomHeader.sequenceFileName, 'slaser_dkd') %Deelchand/Oz
seqorig = 'CMRR';
elseif contains(DicomHeader.sequenceFileName, 'eja_svs') %Auerbach/Marjanska
seqorig = 'CMRR';
end
end


% Extract voxel dimensions
% If a parameter is set to zero (e.g. if no voxel rotation is
Expand Down

0 comments on commit bc78029

Please sign in to comment.