用matlab实时采集图像,对采集到的图像进行imcrop处理,出现了错误,请问为什么嘞?
frame = getsnapshot(obj); rect= [750 260 450 300]; frcrop = imcrop(frame,rect); I = rgb2gray(frcrop);
提示什么错误了?将错误发上来看看