Skip to content
Snippets Groups Projects
Commit bce01ef6 authored by Taylor Hanayik's avatar Taylor Hanayik Committed by Matthew Webster
Browse files

better output formatting for atlas masks

parent 20ced5e0
No related branches found
No related tags found
No related merge requests found
......@@ -136,6 +136,10 @@ int fmrib_main_float(int argc, char* argv[],const bool timeseriesMode, const str
copyconvert(indexMask,mask);
mask.binarise(index-1,index+1,exclusive);
vol=indexMaster*mask;
if (mask.max() < 1) {
cout << "missing label: " << index << " in mask" << endl;
continue;
}
generateNonZeroMask(mask,masknz,vol);
}
int narg(2);
......@@ -465,8 +469,8 @@ int fmrib_main_float(int argc, char* argv[],const bool timeseriesMode, const str
narg++;
}
cout << endl;
}
cout << endl;
}
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