我正在使用MATLAB 2014b并尝试了这些命令:
RGB = imread('peppers.png');
imshow(RGB)
I = rgb2gray(RGB);
但是我收到了这个错误:
Undefined variable "images" or class "images.internal.imapplymatrixc".
Error in images.internal.imapplymatrixAlgo (line 91)
Z = images.internal.imapplymatrixc(I, multiplier', constants, outputClass);
Error in rgb2gray (line 64)
I = images.internal.imapplymatrixAlgo(coef, X, class(X));
有什么想法吗?