


Create an empty NIFTI-1 header FORMAT hdr = empty_hdr _______________________________________________________________________ Copyright (C) 2005 Wellcome Department of Imaging Neuroscience



0001 function hdr = empty_hdr 0002 % Create an empty NIFTI-1 header 0003 % FORMAT hdr = empty_hdr 0004 % _______________________________________________________________________ 0005 % Copyright (C) 2005 Wellcome Department of Imaging Neuroscience 0006 0007 % 0008 % $Id: empty_hdr.m 253 2005-10-13 15:31:34Z guillaume $ 0009 0010 0011 org = niftistruc; 0012 for i=1:length(org), 0013 hdr.(org(i).label) = org(i).def; 0014 end; 0015