Skip to content

Commit

Permalink
Now uses ComputeBrainVolumeStats2(). This will change the output of r…
Browse files Browse the repository at this point in the history
…econ-all
  • Loading branch information
Douglas Greve committed Apr 14, 2020
1 parent 39f4453 commit 8433172
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mri_brainvol_stats/mri_brainvol_stats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ int main(int argc, char **argv)
}

// compute and write the vol stats to a cache file at subjects/stats/brainvol.stats
std::vector<double> stats = ComputeBrainVolumeStats(subject, subjdir);
int CBVSVersion = 2, KeepCSF = 1;
std::vector<double> stats;
if(CBVSVersion == 1) stats = ComputeBrainVolumeStats(subject, subjdir);
if(CBVSVersion == 2) stats = ComputeBrainVolumeStats2(subject, subjdir, KeepCSF);
CacheBrainVolumeStats(stats, subject, subjdir);

return 0;
Expand Down

0 comments on commit 8433172

Please sign in to comment.