spm_project.m 1.2 KB

12345678910111213141516171819202122232425262728
  1. function varargout = spm_project(varargin)
  2. % Form maximum intensity projections - a compiled routine
  3. % FORMAT SPM = spm_project(X,L,dims,[DXYZ,CXYZ])
  4. % X - a matrix of voxel values
  5. % L - a matrix of locations
  6. % dims - assorted dimensions.
  7. % dims(1:3) - the sizes of the projected rectangles.
  8. % dims(4:5) - the dimensions of the mip image.
  9. % Optional:
  10. % DXYZ - length of the X,Y,Z axes of the mip sections (in mip pixels).
  11. % CXYZ - offsets of the origin into the mip sections (in mip pixels).
  12. %__________________________________________________________________________
  13. %
  14. % spm_project 'fills in' a matrix (SPM) to create a maximum intensity
  15. % projection according to a point list of voxel values (V) and their
  16. % locations (L) in the standard space described in the atlas of Talairach &
  17. % Tournoux (1988) or another space defined by a customised mip template.
  18. %
  19. % See also: spm_mip.m and spm_mip_ui.m
  20. %__________________________________________________________________________
  21. % Copyright (C) 1994-2012 Wellcome Trust Centre for Neuroimaging
  22. % John Ashburner
  23. % $Id: spm_project.m 5160 2012-12-21 16:58:38Z guillaume $
  24. %-This is merely the help file for the compiled routine
  25. error('spm_project.c not compiled - see Makefile')