Submitted by mythpsy on Tue, 05/14/2013 - 22:40
各位老师你们好
我最近用到rest_Write4DNIfTI里面
Head.fname - the filename of the image. If the filename is not set,
% just use the parameter.
% Head.dt - A 1x2 array. First element is datatype (see spm_type).
% The second is 1 or 0 depending on the endian-ness.
% Head.mat - a 4x4 affine transformation matrix mapping from
% voxel coordinates to real world coordinates.
% Head.pinfo - plane info for each plane of the volume.
% Head.pinfo(1,:) - scale for each plane
% Head.pinfo(2,:) - offset for each plane
% The true voxel intensities of the jth image are given
% by: val*Head.pinfo(1,j) + Head.pinfo(2,j)
% Head.pinfo(3,:) - offset into image (in bytes).
% If the size of pinfo is 3x1, then the volume is assumed
% to be contiguous and each plane has the same scalefactor
% and offset.
类似的,在spm_vol得出结果里面
V.fname - the filename of the image.
V.dim - the x, y and z dimensions of the volume
V.dt - A 1x2 array. First element is datatype (see spm_type).
The second is 1 or 0 depending on the endian-ness.
V.mat - a 4x4 affine transformation matrix mapping from
voxel coordinates to real world coordinates.
V.pinfo - plane info for each plane of the volume.
V.pinfo(1,:) - scale for each plane
V.pinfo(2,:) - offset for each plane
The true voxel intensities of the jth image are given
by: val*V.pinfo(1,j) + V.pinfo(2,j)
V.pinfo(3,:) - offset into image (in bytes).
If the size of pinfo is 3x1, then the volume is assumed
to be contiguous and each plane has the same scalefactor
and offset.
这个V域都是什么含义哈
我认识到这个很重要
希望能得到解答,3Q
这个V域都是什么含义哈
我认识到这个很重要
希望能得到解答,3Q
Submitted by YAN Chao-Gan on Wed, 05/22/2013 - 01:57 Permalink
Re: 关于头文件域含义
注释中有说明:
最重要的几项:.mat; .dt; .dim
更多信息,请参考:http://nifti.nimh.nih.gov/
Submitted by mythpsy on Wed, 05/22/2013 - 16:07 Permalink
Re: 关于头文件域含义
3q a lot
best wishes!