未定义的变量“images”或类“images.internal.imapplymatrixc”

时间:2014-12-31 22:38:40

标签: matlab image-processing

我正在使用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));

有什么想法吗?

0 个答案:

没有答案