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

added extrap to subsamp from 5 branch

parent d60f0c0b
No related branches found
No related tags found
No related merge requests found
......@@ -593,13 +593,19 @@ if (!separatenoise)
/***************************************************************/
else if (string(argv[i])=="-subsamp2"){
temp_volume.clear();
extrapolation oldex = inputVolume.getextrapolationmethod();
inputVolume.setextrapolationmethod(extraslice);
temp_volume = subsample_by_2(inputVolume,true);
temp_volume.setextrapolationmethod(oldex);
inputVolume = temp_volume;
}
/***************************************************************/
else if (string(argv[i])=="-subsamp2offc"){
temp_volume.clear();
extrapolation oldex = inputVolume.getextrapolationmethod();
inputVolume.setextrapolationmethod(extraslice);
temp_volume = subsample_by_2(inputVolume,false);
temp_volume.setextrapolationmethod(oldex);
inputVolume = temp_volume;
}
/***************************************************************/
......
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