图像缩略图

NRRD NHDR reader and writer

版本1.3.0.0(20.7 kb) Gaetan Rensonnet
Read and write volumetric data and metadata in the .nrrd or .nhdr imaging format.

1.2K Downloads

Updated2019年4月3日

查看许可证

我一直在逐步为MATLAB文件交换的现有贡献添加功能,并认为结果可能对他人有帮助。
新的作者模块(NHDR_NRRD_WRITE.M)应与读取器模块(NHDR_NRRD_READ.M)兼容,因为一个输出可以作为参数作为参数以读取或产生有效的.NHDR/.NRRD文件。
尽可能发出有用的错误和警告。

NRRD格式兼容性

A few supported NRRD features:
- detached headers with all variants of 'data file:'
- raw, txt/text/ascii, gz/gzip encodings
- definition of space and orientation
- handling of diffusion-weighted MRI data with ':=' lines such as 'modality:=DWMRI', 'DWMRI_b-value:=' and DWMRI_gradient_0000:=', 'DWMRI_gradient_0001:=', 'DWMRI_gradient_0002:=', etc. (seehttps://www.na-mic.org/wiki/namic_wiki:dti:nrrd_format

不支万博1manbetx持的功能:

通常,标题中我们无法解析的任何字段说明符都在打印到控制台的消息中报告。不支持功能的具体示例包括:万博1manbetx
- reading data along more than 1 dimension or along a dimension other than the slowest (last) axis specified by the optional , as
在'数据文件:<格式> []'或'数据文件:list []'
- storing all the comments found in headers
-EX,BZ2/BZIP2编码
- byte skip can only accept -1 with raw encoding, 0 for all other encodings
- 线跳只能接受0
- checking that field specifications of the form ': ' appear no more than once in the NRRD header (unlike ':=' lines)

致谢

1. The body of the writer module was pretty much written from scratch but the general structure of the reader's main body is based on the Matlab functions maReadNrrdHeader.m and maReadNrrdData.m by marc@bwh.harvard.edu
和kquintus@bwh.harvard.edu。

2.杰夫·马瑟(Jeff Mather)的NRRD读者
((http://nl.mathworks.com/matlabcentral/fileexchange/34653-nrrd-format-file-reader
and
http://jeffmatherphotography.com/dispatches/2012/02/writing-a-file-reader-in-matlab/
提供辅助功能:
- 调节式;
- getDatatype: renamed nrrd_getMatlabDataType. Now throws a gracious error if it encounters 'block'-type data;
- readdata:适用于使用GZIP编码时删除临时文件的跨平台修复https://nl.mathworks.com/matlabcentral/fileexchange/50830-nrrd-format-file-reader)。

3. mdcacio's nrrdWriter
((https://nl.mathworks.com/matlabcentral/fileexchange/48621-nrrdwriter-filename-filename-matrix--pixels-pacelspacing-- Origin-编码-)
提供辅助功能:
- 写入:“输入流的意外末端”试图使用GZIP编码时驱除文件错误。实际上,Quan Chen独立解决了这一点。
- setDatatype:重命名为get_nrrd_datatype。GetDatatype的倒数。

引用为

Gaetan Rensonnet((2022).NRRD NHDR reader and writer(//www.tianjin-qmedu.com/matlabcentral/fileexchange/66645-nrrd-nrrd-nhdr-reader-and-writer),matlab central文件交换。检索

MATLABRelease Compatibility
使用R2015A创建
Compatible with any release
平台兼容性
Windows 苹果系统 Linux

社区寻宝

在Matlab Central中找到宝藏,发现社区如何为您提供帮助!

Start Hunting!