matRad icon indicating copy to clipboard operation
matRad copied to clipboard

matRad has issues with 2D patients

Open wahln opened this issue 7 years ago • 0 comments

For some applications it might be interesting to first evaluate on a 2D phantom. However, matRad has problems when the 3rd dimension is only of size 1 (MATLAB removes the last dimension and thus some array accesses fail, for example sz = size(ct.cube{1}) gives only a 1x2 array, and sz(3) will then lead to a crash.)

wahln avatar Jan 23 '19 10:01 wahln