前几天在网站http://brainweb.bic.mni.mcgill.ca/cgi/bw/submit_request填写仿真数据后,网站生成了纯二进制数据的文件提供下载,文件格式是.mnc和.rawb,一开始下载.mnc格式的文件,但研究多个文章后仍然打不开。最后下载了.rawb格式的文件,用matlab打开。
rawb的全称是raw byte (unsigned),介绍如下:
One (unsigned) byte is used for each voxel, and the data is scaled such that it will use the entire 0...255 range of values. Exception: the "crisp" anatomical models are not scaled -- their byte values will be in the range 0...10.
填写的仿真数据如下图所示:


本文介绍了如何处理.mnc和.rawb格式的二进制文件,特别是通过MATLAB进行读取操作。作者在尝试打开.mnc文件未果后,转向使用.rawb文件,并提供了在MATLAB中读取.rawb文件的代码,包括两种方法:通过主函数和直接在命令行窗口运行。

最低0.47元/天 解锁文章
1902

被折叠的 条评论
为什么被折叠?



