[Master Index] [Index for export/lyngby]

lyngby_spm_xyz2ind

(export/lyngby/lyngby_spm_xyz2ind.m)


Function Synopsis

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

Help text

 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

Produced by mat2html on Wed Jul 29 15:43:40 2009
Cross-Directory links are: OFF