关于头文件域含义

Submitted by mythpsy on
各位老师你们好
                 我最近用到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
                 
Forums