git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
4b57696
Branches
Tags
master
SVMCrossVal.git
private
generateVoxelList.m
moved helpercode to private
Christoph Budziszewski
commited
4b57696
at 2009-01-07 09:24:55
generateVoxelList.m
Blame
History
Raw
function voxellist = generateVoxelList(center, radius) % cx = ROICenter(1); % cy = ROICenter(2); % cz = ROICenter(3); voxellist = []; cx = center(1); cy = center(2); cz = center(3); for z=cz-radius+1:cz+radius-1 for y=(cy-radius+1):(cy+radius-1) for x=(cx-radius+1):(cx+radius-1) voxellist = [voxellist [x;y;z]]; end end end end