Skip to content
Snippets Groups Projects
Commit 4458895b authored by Mark Jenkinson's avatar Mark Jenkinson
Browse files

Fixed buglet for reporting number of voxels in a 4D file with -v

parent 966f50cc
No related branches found
No related tags found
No related merge requests found
...@@ -357,8 +357,8 @@ int fmrib_main_float(int argc, char* argv[]) ...@@ -357,8 +357,8 @@ int fmrib_main_float(int argc, char* argv[])
cout << (long int) mask.sum() << " " cout << (long int) mask.sum() << " "
<< mask.sum() * vol.xdim() * vol.ydim() * vol.zdim() << " "; << mask.sum() * vol.xdim() * vol.ydim() * vol.zdim() << " ";
} else { } else {
cout << (long int) vol.nvoxels() << " " cout << (long int) vol.nvoxels() * vol.tsize() << " "
<< vol.nvoxels() * vol.xdim() * vol.ydim() * vol.zdim() << " "; << vol.nvoxels() * vol.tsize() * vol.xdim() * vol.ydim() * vol.zdim() << " ";
} }
} else if (sarg=="-V") { } else if (sarg=="-V") {
if (masks_used) { if (masks_used) {
......
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