Home > lyngby > lyngby_spm_xyz2ind.m

lyngby_spm_xyz2ind

PURPOSE ^

lyngby_spm_xyz2ind - Convert SPM XYZ structure to voxel indices

SYNOPSIS ^

function [Indices, dim] = lyngby_spm_xyz2ind(XYZ, dim, origin)

DESCRIPTION ^

 lyngby_spm_xyz2ind   - Convert SPM XYZ structure to voxel indices

        function [Indices, dim] = lyngby_spm_xyz2ind(XYZ, ...
           dim, origin)

        Input:        Vmask        a voxel mask (a sparse matrix)
               origin  (Optional)
                dim        (Optional) 

        Output:        Indices        Indices for all voxels that will be in the
                        masked voloume 
               dim

        See also: lyngby_index2vmask, lyngby_vmask2index

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 29-Jul-2009 15:57:21 by m2html © 2003