Skip to content

Commit

Permalink
added the missing (scanNUm) index to voxZ
Browse files Browse the repository at this point in the history
  • Loading branch information
adityaapte committed Jan 25, 2017
1 parent fd5ed6b commit 9b878d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CERR_core/ImageMetrics/calcBSL.m
Expand Up @@ -11,7 +11,7 @@
% Get voxel size
voxX = planC{indexS.scan}(scanNum).scanInfo(1).grid2Units;
voxY = planC{indexS.scan}(scanNum).scanInfo(1).grid1Units;
voxZ = planC{indexS.scan}.scanInfo(1).sliceThickness;
voxZ = planC{indexS.scan}(scanNum).scanInfo(1).sliceThickness;
voxVol = voxX*voxY*voxZ;

% Get PET data
Expand All @@ -25,7 +25,9 @@
%subplot(14,14,iplot)

% Get VOI mask from Structure and associate PET data
uSlices = []; maskRTS = []; maskRTStmp = [];
uSlices = [];
maskRTS = [];
maskRTStmp = [];
scanNum = getStructureAssociatedScan(structNum,planC);
[rasterSeg, planC, isError] = getRasterSegments(structNum,planC);
if isempty(rasterSeg)
Expand Down

0 comments on commit 9b878d1

Please sign in to comment.