Skip to content
Snippets Groups Projects
Commit 079bd46f authored by brossetti's avatar brossetti
Browse files

bug fix: did not handle multiple time frames in max

parent 95031039
No related branches found
No related tags found
No related merge requests found
Pipeline #305 failed
...@@ -68,7 +68,7 @@ if (~isempty(answer)) ...@@ -68,7 +68,7 @@ if (~isempty(answer))
[~,~,maxVal] = Utils.GetClassBits(MipROIim); [~,~,maxVal] = Utils.GetClassBits(MipROIim);
goodZ = squeeze(max(max(max(MipROIim,[],1),[],2),[],4)); goodZ = squeeze(max(MipROIim,[],[1,2,4,5]));
zStart = find(goodZ>maxVal*0.04,1,'first'); zStart = find(goodZ>maxVal*0.04,1,'first');
if (isempty(zStart)) if (isempty(zStart))
zStart = 1; zStart = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment