From 381f5e4e77cb94c3666c715d9ce7367b536b2b20 Mon Sep 17 00:00:00 2001 From: Matthew Webster <mwebster@fmrib.ox.ac.uk> Date: Wed, 7 Jan 2015 15:33:40 +0000 Subject: [PATCH] Latest version Jan 15 --- fslmaths.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fslmaths.cc b/fslmaths.cc index d5b6a16..52799f1 100755 --- a/fslmaths.cc +++ b/fslmaths.cc @@ -988,9 +988,8 @@ if (!separatenoise) for(int t=0;t<inputVolume.tsize();t++) { try { - volume<T> im(inputVolume[t]); + ShadowVolume<T> im(inputVolume[t]); tfce(im, height_power, size_power, connectivity, tfce_minT, tfce_delta); - inputVolume[t]=im; } catch(Exception& e) { cerr << "ERROR: TFCE failed, please check your file for valid sizes and voxel values." << e.what() << endl << endl << "Exiting" << endl; @@ -1012,9 +1011,8 @@ if (!separatenoise) float tfce_thresh = atof(argv[++i]); for(int t=0;t<inputVolume.tsize();t++) { - volume<T> im(inputVolume[t]); + ShadowVolume<T> im(inputVolume[t]); tfce_support(im, height_power, size_power, connectivity, tfce_minT, tfce_delta, X, Y, Z, tfce_thresh); - inputVolume[t]=im; } } -- GitLab