[問題] 不知哪裡出問題?已回收
這是實驗室前輩撰寫的,但是他經畢業了,無從問起,來此請教高手們
function [R1,R2,R3,R4,B,P]=detection(test_data)
r=size(test_data,1);
P=cell(r,1);
R1=cell(r,1);
R2=cell(r,1);
R3=cell(r,1);
R4=cell(r,1);
B=cell(r,1);
for i=1:r
str=test_data(i).name;
im=imread(str);
[rr cc dd]=size(im);........................
其中test_data='normalWBUS.tif';
執行都會跳出bug
Improper index matrix reference.
Error in ==> detection at 12
str=test_data(i).name;
請問是啥bug呢?
麻煩大家了,感謝^^
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.218.121
→
04/13 12:06, , 1F
04/13 12:06, 1F