Skip to content

Commit 55f6053

Browse files
authored
Merge pull request #22 from CerenB/dev
resliceToiImage - interpolation type suggestion
2 parents 89d6e63 + 22915ce commit 55f6053

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

demos/roi/roi_script.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
%% ASSUMPTION
1616
%
17-
% This assumes that the 2 immages are in the same space (MNI, individual)
17+
% This assumes that the 2 images are in the same space (MNI, individual)
1818
% but they might not necessarily have the same resolution.
1919
%
2020
% In SPM lingo this means they are coregistered but not necessarily resliced.
@@ -29,7 +29,7 @@
2929
% You can use the resliceRoiImages for that.
3030

3131
%%
32-
zMap = fullfile(pwd, 'inputs', 'visual motion_association-test_z_FDR_0.01.nii');
32+
zMap = fullfile(pwd, 'inputs', 'visual_motion_association-test_z_FDR_0.01.nii');
3333
dataImage = fullfile(pwd, 'inputs', 'TStatistic.nii');
3434

3535
opt.unzip.do = true;
@@ -44,7 +44,7 @@
4444
% all of these functions can be found below and show you how to create ROIs and
4545
% / or ROIs to extract data from an image.
4646
%
47-
[roiName, zMap] = preprareDataAndROI(opt, dataImage, zMap);
47+
[roiName, zMap] = prepareDataAndROI(opt, dataImage, zMap);
4848

4949
data_mask = getDataFromMask(dataImage, roiName);
5050
data_sphere = getDataFromSphere(opt, dataImage);
@@ -136,7 +136,7 @@
136136

137137
%% HELPER FUNCTION
138138

139-
function [roiName, zMap] = preprareDataAndROI(opt, dataImage, zMap)
139+
function [roiName, zMap] = prepareDataAndROI(opt, dataImage, zMap)
140140

141141
if opt.unzip.do
142142
gunzip(fullfile('inputs', '*.gz'));

0 commit comments

Comments
 (0)