Skip to content

Commit

Permalink
uncomment philips in matlab script too
Browse files Browse the repository at this point in the history
  • Loading branch information
bendhouseart committed Nov 29, 2023
1 parent 07f9bfa commit 9ff7332
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions scripts/matlab_conversions.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
[status, results] = system('which dcm2niix');
if status == 0
dcm2niix_path = results;
system([dcm2niix_path, ' -h'])
system([dcm2niix_path, ' -h'])
else
print_me = ['This script expects to find dcm2niix at /opt/homebrew/bin, for a default brew installed dcm2niix.'];
disp(print_me)
Expand Down Expand Up @@ -186,7 +186,6 @@

%% Johannes Gutenberg University of Mainz
% --------------------------------------
% this phillips misbehaves not running it
try
clear meta
meta.TimeZero = 'ScanStart';
Expand All @@ -211,15 +210,15 @@
meta.ReconFilterType = "none";
meta.ReconFilterSize = 1;

%dcm2niix4pet(fullfile(source,['PhilipsGeminiPETMR-Unimedizin' filesep 'reqCTAC']),meta,...
% 'o',fullfile(destination,['sub-PhilipsGeminiUnimedizinMainz' filesep 'pet']));
dcm2niix4pet(fullfile(source,['PhilipsGeminiPETMR-Unimedizin' filesep 'reqCTAC']),meta,...
'o',fullfile(destination,['sub-PhilipsGeminiUnimedizinMainz' filesep 'pet']));


% meta.AttenuationCorrection = 'NONE';
% meta.ScatterCorrectionMethod = 'NONE';%GEG
% meta.ReconstructionMethod = '3D-RAMLA';%GEG
% dcm2niix4pet(fullfile(source,['PhilipsGemini-Unimedizin' filesep 'reqNAC']),meta,...
% 'o',fullfile(destination,['sub-PhilipsGeminiNAC-UnimedizinMainz' filesep 'pet']));
meta.AttenuationCorrection = 'NONE';
meta.ScatterCorrectionMethod = 'NONE';%GEG
meta.ReconstructionMethod = '3D-RAMLA';%GEG
dcm2niix4pet(fullfile(source,['PhilipsGemini-Unimedizin' filesep 'reqNAC']),meta,...
'o',fullfile(destination,['sub-PhilipsGeminiNAC-UnimedizinMainz' filesep 'pet']));

catch
disp(message);
Expand Down Expand Up @@ -450,6 +449,6 @@
%
% CPS Innovations HRRT - dcm2niix fails
% ---------------------------------------
% dcm2niix4pet(fullfile(source,'CPSInnovationsHRRT-NIMH'),meta,...
% 'o',fullfile(destination,['sub-CPSInnovationsHRRT-NIMH' filesep 'pet']));
%dcm2niix4pet(fullfile(source,'CPSInnovationsHRRT-NIMH'),meta,...
% 'o',fullfile(destination,['sub-CPSInnovationsHRRT-NIMH' filesep 'pet']));

0 comments on commit 9ff7332

Please sign in to comment.