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

6D-Cluster: fixed forced re-normalization

parent fe41c2e5
No related branches found
No related tags found
No related merge requests found
......@@ -290,7 +290,8 @@ classdef Gt6DReconstructionAlgorithmFactory < handle
safe_coeffs = coeffs(safe_indexes_pos);
% Let's build the interpolated slices
blob = blobs(ii).intm;
blob = blob ./ sum(blob(:));
blob(blob < 0) = 0;
% blob = blob ./ sum(blob(:));
for w = 1:numel(safe_coeffs)
sub_blob_slices{ii}(:, :, n) = ...
sub_blob_slices{ii}(:, :, n) + safe_coeffs(w) .* blob(:, :, safe_indexes(w));
......
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