Permalink
Browse files

Enable test with planC

  • Loading branch information...
rkpandya committed Jun 27, 2018
1 parent 1434257 commit 4116f9fe0b16808a05e55c3b973b597c5ee84653
@@ -22,14 +22,23 @@
%
% testM = imquantize_cerr(volToEval,nL);
% Number of Gray levels
nL = 16;
% % Number of Gray levels
% nL = 16;
%
% % Random n x n x n matrix
% n = 20;
% testM = rand(n,n,5);
% testM = imquantize_cerr(testM,nL);
% maskBoundingBox3M = testM .^0;
% Random n x n x n matrix
n = 20;
testM = rand(n,n,5);
testM = imquantize_cerr(testM,nL);
maskBoundingBox3M = testM .^0;
scanNum = 1;
strNum = 1;
testM = single(planC{indexS.scan}(scanNum).scanArray) - planC{indexS.scan}(scanNum).scanInfo(1).CTOffset;
maskBoundingBox3M = getUniformStr(strNum);
testQuantM = testM;
testQuantM(~maskBoundingBox3M) = NaN;
testQuantM = imquantize_cerr(testQuantM,[],[],[],25);
nL = max(testQuantM(:));
scanType = 'original';
%generate results from pyradiomics
@@ -21,14 +21,23 @@
% testM = imquantize_cerr(volToEval,nL);
% Number of Gray levels
nL = 16;
% Random n x n x n matrix
n = 20;
testM = rand(n,n,5);
testM = imquantize_cerr(testM,nL);
maskBoundingBox3M = testM .^0;
% % Number of Gray levels
% nL = 16;
%
% % Random n x n x n matrix
% n = 20;
% testM = rand(n,n,5);
% testM = imquantize_cerr(testM,nL);
% maskBoundingBox3M = testM .^0;
scanNum = 1;
strNum = 1;
testM = single(planC{indexS.scan}(scanNum).scanArray) - planC{indexS.scan}(scanNum).scanInfo(1).CTOffset;
maskBoundingBox3M = getUniformStr(strNum);
testQuantM = testM;
testQuantM(~maskBoundingBox3M) = NaN;
testQuantM = imquantize_cerr(testQuantM,[],[],[],25);
nL = max(testQuantM(:));
% Number of voxels
numVoxels = numel(testM);
@@ -3,13 +3,22 @@
% RKP, 03/22/2018
% Number of Gray levels
nL = 16;
% Random n x n x n matrix
n = 20;
testM = rand(n,n,5);
testM = imquantize_cerr(testM,nL);
maskBoundingBox3M = testM .^0;
% nL = 16;
%
% % Random n x n x n matrix
% n = 20;
% testM = rand(n,n,5);
% testM = imquantize_cerr(testM,nL);
% maskBoundingBox3M = testM .^0;
scanNum = 1;
strNum = 1;
testM = single(planC{indexS.scan}(scanNum).scanArray) - planC{indexS.scan}(scanNum).scanInfo(1).CTOffset;
maskBoundingBox3M = getUniformStr(strNum);
testQuantM = testM;
testQuantM(~maskBoundingBox3M) = NaN;
testQuantM = imquantize_cerr(testQuantM,[],[],[],25);
nL = max(testQuantM(:));
scanType = 'original';
%generate results from pyradiomics
@@ -23,13 +23,22 @@
% testM = imquantize_cerr(volToEval,nL);
% Number of Gray levels
nL = 16;
% nL = 16;
% Random n x n x n matrix
n = 20;
testM = rand(n,n,5);
testM = imquantize_cerr(testM,nL);
maskBoundingBox3M = testM .^0;
% n = 20;
% testM = rand(n,n,5);
% testM = imquantize_cerr(testM,nL);
% maskBoundingBox3M = testM .^0;
scanNum = 1;
strNum = 1;
testM = single(planC{indexS.scan}(scanNum).scanArray) - planC{indexS.scan}(scanNum).scanInfo(1).CTOffset;
maskBoundingBox3M = getUniformStr(strNum);
testQuantM = testM;
testQuantM(~maskBoundingBox3M) = NaN;
testQuantM = imquantize_cerr(testQuantM,[],[],[],25);
nL = max(testQuantM(:));
scanType = 'original';
%generate results from pyradiomics

0 comments on commit 4116f9f

Please sign in to comment.