Skip to content
Snippets Groups Projects
Commit 94ee0c08 authored by Stephen Smith's avatar Stephen Smith
Browse files

changed corrections file saving to do it one volume at a time

parent 9be16928
No related branches found
No related tags found
No related merge requests found
......@@ -88,10 +88,11 @@ namespace FILM {
VolumeInfo newvolinfo = volinfo;
newvolinfo.v = numParams*numParams;
newvolinfo.intent_code = NIFTI_INTENT_NONE;
corrections.setInfo(newvolinfo);
corrections.setPreThresholdPositions(prethreshpos);
corrections.unthresholdSeries();
corrections.writeAsFloat(logger.getDir() + "/corrections");
//corrections.setInfo(newvolinfo);
//corrections.setPreThresholdPositions(prethreshpos);
//corrections.unthresholdSeries();
//corrections.writeAsFloat(logger.getDir() + "/corrections");
corrections.writeThresholdedSeriesAsFloat(newvolinfo,prethreshpos,logger.getDir() + "/corrections");
}
void GlimGls::SetCorrection(const Matrix& corr, const int ind)
......
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