create_mosaic.m

版本 1.0.0.0 (23.6 KB) 作者: Simon Robinson
create_mosiac.m - Create tiled "mosaic" images from volumes
1.1K 次下载
更新时间 2011/5/2

查看许可证

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)

引用格式

Simon Robinson (2024). create_mosaic.m (https://www.mathworks.com/matlabcentral/fileexchange/31279-create_mosaic-m), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 MRI 的更多信息
致谢

参考作品: Tools for NIfTI and ANALYZE image

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0