Skip to content

Commit 2c53e0d

Browse files
Changed: Updated option to go to next or previous file in cat_surf_results.m.
Changed paths: M CHANGES.txt M cat_vol_slice_overlay.m
1 parent 07eb876 commit 2c53e0d

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGES.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
------------------------------------------------------------------------
2+
r2547 | gaser | 2024-02-19 11:52:37
3+
4+
Changed paths:
5+
M CHANGES.txt
6+
M cat_vol_slice_overlay.m
7+
8+
Changed: Updated option to go to next or previous file in cat_surf_results.m.
9+
------------------------------------------------------------------------
210
r2546 | gaser | 2024-02-19 11:15:38
311

412
Changed paths:

cat_vol_slice_overlay.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@
183183
else
184184
SO.img(2).vol = spm_vol(OV.name);
185185
[mx, mn, XYZ, img2] = volmaxmin(SO.img(2).vol);
186+
187+
% apply function to img2
188+
i1 = img2; eval(OV.func) img2 = i1;
189+
186190
% threshold map and restrict coordinates
187191
Q = find(compare_to_threshold(img2,range(1)) & le(img2,range(2)));
188192
XYZ = XYZ(:, Q);

0 commit comments

Comments
 (0)