git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
ea0c5c0
Branches
Tags
master
SVMCrossVal.git
private
parseCoordinateTextField.m
new parseVoxelTxtField getImageFileList reads files according to gui-settings voxel to subject coordinate mapping missing.
Christoph Budziszewski
commited
ea0c5c0
at 2009-02-16 17:32:42
parseCoordinateTextField.m
Blame
History
Raw
function voxelList = parseCoordinateTextField(txtFieldHandel) s = get(txtFieldHandel,'String'); rows = size(s,1); voxelList = []; for i = 1:rows if all(isspace(s(i,:))) continue; end line = s(i,:); [roi rem] = strtok(line,'+'); roimod = eval(str2mat(rem(2:end))); coord.name = roi; coord.mod = roimod; voxelList = [voxelList; coord]; end end