【发布时间】:2019-12-12 16:26:58
【问题描述】:
我正在尝试使用以下代码使用 radiomics 包 (https://www.mathworks.com/matlabcentral/fileexchange/51948-radiomics) 运行 GLCM:
volume = double(rgb2gray(imread('http://www.cs.sjsu.edu/~bruce/images/fall_2016_cs160/lectures/eye_pupil_tracking/grayscale_eye_cropped_to_bounding_box.png')));
mask = ones(size(volume,1),size(volume,2));
[ROIonly,levels] = prepareVolume(volume,mask,'Other','Matrix','Uniform',32);
[GLCM] = getGLCM(ROIonly,levels);
我收到以下错误:
输入参数不足。
prepareVolume 中的错误(第 110 行) if ~strcmp(textType,'Global') && ~strcmp(textType,'Matrix')
无标题错误(第 7 行) [ROIonly,levels] = prepareVolume(volume,mask,'Other','Matrix','Uniform',32);
我该如何解决?
【问题讨论】: