voxpts method - returns 3xN ijk matrix in voxels $Id$
0001 function [pts, vals] = voxpts(obj, sp) 0002 % voxpts method - returns 3xN ijk matrix in voxels 0003 % 0004 % $Id$ 0005 0006 if nargin < 2 0007 error('Need space to give voxel points'); 0008 end 0009 [pts, vals] = rebase(obj, sp, '');