Skip to content
Snippets Groups Projects
Commit bacdf5b0 authored by Nicola Vigano's avatar Nicola Vigano
Browse files

Speedup w-shape-functions

parent 6055d8fd
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,9 @@ function shape_funcs = gtDefShapeFunctionsFwdProj(sampler, varargin)
voxel_sampling = voxel_size ./ space_res * conf.factor;
if (use_numinterp)
voxel_sampling(3) = voxel_sampling(3) ./ conf.num_interp;
if (strcmpi(conf.shape_function_type, 'w'))
voxel_sampling(1:2) = voxel_sampling(1:2) ./ conf.num_interp;
end
end
voxel_sampling = max(ceil(voxel_sampling), 5);
......
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