Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,12 @@
% get t-statistics for all voxels.

t.fullpath = fullfile(pwd, 'example_t_image.nii');
write(t)
write(t, 'overwrite')

% If we use the 'thresh' option, we'll write thresholded values:
write(t, 'thresh')
% (write() does not overwrite an existing file unless asked, and we just
% wrote this path above, so pass 'overwrite' here too.)
write(t, 'thresh', 'overwrite')

t_reloaded = statistic_image(t.fullpath, 'type', 'generic');
orthviews(t_reloaded)
Expand Down
2 changes: 1 addition & 1 deletion example_help_files/canlab_help_4b_3D_visualization.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
[test_images, names] = load_image_set('kragel18_alldata', 'noverbose');

% This field contains a table object with metadata for each image:
metadata = test_images.dat_descrip;
metadata = test_images.metadata_table;
metadata(1:5, :) % Show the first 5 rows

% Here are the 3 domains:
Expand Down