Skip to content
Snippets Groups Projects
Commit 982080c4 authored by Yoann Guilhem's avatar Yoann Guilhem Committed by Nicola Vigano
Browse files

Cleaning: removed the most useless function ever

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@856 4c865b51-4357-4376-afb4-474e03ccb993
parent cc004e8a
No related branches found
No related tags found
No related merge requests found
function makeVolBin(vol,value)
vol2=zeros(size(vol,1),size(vol,2),size(vol,3));
for i=1:size(vol,1)
for j=1:size(vol,2)
for k=1:size(vol,3)
if vol(j,k,i)==value
vol2(j,k,i)=1;
else
vol2(j,k,i)=0;
end
end
end
end
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment