Skip to content
Snippets Groups Projects
Commit deda6d73 authored by Matthew Webster's avatar Matthew Webster
Browse files

fslstats 402 final

parent 664e1ed4
No related branches found
No related tags found
No related merge requests found
...@@ -132,7 +132,6 @@ int generate_masks(volume4D<float> &mask, volume4D<float> &masknz, const volume4 ...@@ -132,7 +132,6 @@ int generate_masks(volume4D<float> &mask, volume4D<float> &masknz, const volume4
mask = binarise(vin,lthr,uthr,exclusive); mask = binarise(vin,lthr,uthr,exclusive);
if (mask.tsize()!=1) masknz = (binarise(vin,0.0f, 0.0f)-1.0f)*-1.0f*mask; if (mask.tsize()!=1) masknz = (binarise(vin,0.0f, 0.0f)-1.0f)*-1.0f*mask;
else masknz = (binarise(vin,0.0f, 0.0f)-1.0f)*-1.0f*mask[0]; else masknz = (binarise(vin,0.0f, 0.0f)-1.0f)*-1.0f*mask[0];
save_volume4D(masknz,"masknz");
return 0; return 0;
} }
......
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