You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aditiiyer edited this page Apr 2, 2018
·
2 revisions
Patch-wise first-order statistics are computed over the neighbourhood of each voxel in the ROI.
Example
globalplanC% Define the scan and structure indices used for calculation
scanNum =1;
structNum =1;
% Get scan array
scan3M = getScanArray(scanNum,planC);
% Get mask of ROI
mask3M = getUniformStr(structNum, planC);
% Get bounds of ROI
[minr, maxr, minc, maxc, mins, maxs] = compute_boundingbox(x3D);
bboxDimV = [minr, maxr, minc, maxc, mins, maxs];
% Compute patch-based statistics
[patchIntM,patchStatM] = firstOrderStatsByPatch(scan3M,bboxDimV,patchSizeV);