MATLAB进行灰度图像读取时: I=imread('lena.bmp'); IW=rgb2gray(I); 总报错
???Errorusing==>timesIntegerscanonlybecombinedwithintegersofthesameclass,orscalardoub...
??? Error using ==> times
Integers can only be combined with integers of the same class, or scalar doubles.
Error in ==> rgb2gray at 65
I = X*coef; 展开
Integers can only be combined with integers of the same class, or scalar doubles.
Error in ==> rgb2gray at 65
I = X*coef; 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询