Skip to content
Snippets Groups Projects
Commit 5a931ab6 authored by Lorenzo Valzania's avatar Lorenzo Valzania Committed by Nicola Vigano
Browse files

gtPlaceSubVolume: fixed warnings once more

parent 2aa78741
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ function [kam, gam] = gtDefComputeKernelAverageMisorientation(dmvol, intvol, var
- dmvol(1:(end-incrx), 1:(end-incry), 1:(end-incrz), :);
dists = sqrt(sum(diffs .^ 2, 4));
dists = 2 * atand(dists);
dists_weights = dists < conf.threshold;
dists_weights = cast(dists < conf.threshold, class(dmvol));
pre_weigths = gtPlaceSubVolume(zeros(vol_size(1:3), class(dmvol)), dists_weights, incr);
post_weigths = gtPlaceSubVolume(zeros(vol_size(1:3), class(dmvol)), dists_weights, [0 0 0]);
......
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