Code covered by the BSD License
-
centre_and_save_nii(image_nii...
Simon Robinson
-
centre_header(nii_hdr)
centre nii header files - put the origin at the centre of the image
-
load_nii(filename, img_idx, d...
-
load_nii_hdr(fileprefix)
-
load_nii_img(hdr,filetype,fil...
internal function
-
make_nii(varargin)
Make NIfTI structure specified by an N-D matrix. Usually, N is 3 for
-
save_nii(nii, fileprefix, old...
-
save_nii_ext(ext, fid)
Save NIFTI header extension.
-
save_nii_hdr(hdr, fid)
-
set_nii_voxel_size(old_hdr, p...
set_nii_voxel_size.m
-
verify_nii_ext(ext)
Verify NIFTI header extension to make sure that each extension section
-
xform_nii(nii, tolerance, pre...
internal function
-
create_mosaic.m
-
View all files
|
|
| File Information |
| Description |
Conceived for functional Magnetic Resonance Imaging, create_mosaic may also be useful for DWI or other applications which create image time-series
Most fMRI programs use 4D matrices (x,y,z,t) in NIfTI format.
It can be useful to reduce the number of dimension from 4 to 3 by tiling all slices (z) into a "mosaic" image for each time point (t).
Scrolling through the 3rd dimension in the mosaic (e.g. in mricro http://www.cabiatl.com/mricro/mricro/index.html) allows the time course of each slice to be visualised.
Useful for assessing motion and artefacts in fMRI time series.
Can also be used to create a 2D mosaic of all the slices in a 3D volume, e.g. for structural imaging
In the example below, 4D EPI times-series in NIfTI format (all called 'Image.nii') are stored in the directories '5','6','8' in the directory specified by root_dir
create_mosaic writes a 3D mosaic file for each, in NIfTI format, in the directory results_dir, with file names Mosaic_5.nii, etc
Simon Robinson. 2/May/2011. simon.robinson@meduniwien.ac.at
version_number = 1.0;
Credit: includes many functions from Jimmy Shen's excellent NIfTI toolbox (file exchange # 8797)
|
| MATLAB release |
MATLAB 7.9 (2009b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com