-
Notifications
You must be signed in to change notification settings - Fork 2
/
spm_ArtRepairInter.m
95 lines (92 loc) · 3.17 KB
/
spm_ArtRepairInter.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
function spm_ArtRepair
% ArtRepairv5 interface using uimenu command.
% Format is directly from spm_Deformations.m by John Ashburner.
% Hopefully this works in all versions of Matlab.
SPMid = spm('FnBanner',mfilename,'3');
%Finter = spm('CreateIntWin','on');
%[Finter,Fgraph,CmdLine] = spm('FnUIsetup','ArtRepair');
%spm_help('!ContextHelp',mfilename);
fig = spm_figure('GetWin','Interactive');
h0 = uimenu(fig,...
'Label', 'Artifact Repair Toolbox v5b',...
'Separator', 'on',...
'Tag', 'ArtRepair',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'View Data : Movie of signal variations on every voxel',...
'Separator', 'off',...
'Tag', 'ArtRepair',...
'CallBack', 'art_movie;',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'View Data : Find RMS of image series',...
'Separator', 'off',...
'Tag', 'ArtRepair',...
'CallBack', 'art_rms;',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'View Data : Display timeseries on a single voxel',...
'Separator', 'off',...
'Tag', 'ArtRepair',...
'CallBack', 'art_plottimeseries;',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'Bad slices: Repairs bad slices from scanner noise',...
'Separator', 'off',...
'Tag', 'ArtRepair',...
'CallBack', 'art_slice;',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'Artifact Repair: Reduces realignment residuals from interpolation',...
'Separator', 'off',...
'Tag', 'ArtRepair',...
'CallBack', 'art_motionregress;',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'Artifact Repair: Detects and repairs outlier volumes',...
'Separator', 'off',...
'Tag', 'ArtRepair',...
'CallBack', 'art_global;',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'Artifact Repair: Despike and/or high pass filter image series',...
'Separator', 'off',...
'Tag', 'ArtRepair',...
'CallBack', 'art_despike;',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'Deweight: Applies deweighting to existing SPM',...
'Separator', 'off',...
'Tag', 'ArtRepair',...
'CallBack', 'art_redo;',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'Percent Scaling: Finds scale factors into percent signal change',...
'Separator', 'off',...
'Tag', 'ArtRepair',...
'CallBack', 'art_percentscale;',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'Summarize estimates: Distribution of subject contrast estimates',...
'Separator', 'off',...
'Tag', 'ArtRepair',...
'CallBack', 'art_summary;',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'Summarize group estimate Distribution of group contrast estimates',...
'Separator', 'off',...
'Tag', 'ArtRepair',...
'CallBack', 'art_groupsummary;',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'Review group SPM: View all data in group SPM.mat',...
'Separator', 'off',...
'Tag', 'ArtRepair',...
'CallBack', 'art_groupcheck;',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'Group Outlier: Finds outlier subjects from con images',...
'Separator', 'off',...
'Tag', 'ArtRepair',...
'CallBack', 'art_groupoutlier;',...
'HandleVisibility','on');