Home > marsbar > spm99 > spm_close_vol.m

spm_close_vol

PURPOSE ^

Close image volume - for SPM2 / SPM99 compatibility

SYNOPSIS ^

function Vo = spm_close_vol(Vi)

DESCRIPTION ^

 Close image volume - for SPM2 / SPM99 compatibility
 See: spm_create_vol and spm_write_plane.

 SPM99 seems to use spm_create_image to close volumes

 $Id$  

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function Vo = spm_close_vol(Vi)
0002 % Close image volume - for SPM2 / SPM99 compatibility
0003 % See: spm_create_vol and spm_write_plane.
0004 %
0005 % SPM99 seems to use spm_create_image to close volumes
0006 %
0007 % $Id$
0008   
0009 for i=1:prod(size(Vi)),
0010   Vo(i) = spm_create_image(Vi(i));
0011 end

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019