马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
<P>请师兄师姐帮忙一下:(想得到原始图像的原始直方图)<BR>运行下面程序<BR>I=imread('H:\10.jpg');<BR>imshow(I)<BR>figure,imhist(I,64)<BR>命令窗口就出现下面的提示:<BR><BR>??? Error using ==> g:/matlab/toolbox/images/images/private/checkinput (check_attributes)<BR>Function imhist expected its first input argument, I or X,<BR>to be two-dimensional.</P>
<P>Error in ==> G:\Matlab\toolbox\images\images\private\checkinput.m<BR>On line 37 ==> check_attributes(A, attributes, function_name, variable_name, ...</P>
<P>Error in ==> G:\Matlab\toolbox\images\images\imhist.m (parse_inputs)<BR>On line 173 ==> checkinput(a, 'double uint8 logical uint16', '2d', mfilename, 'I or X', 1);</P>
<P>Error in ==> G:\Matlab\toolbox\images\images\imhist.m<BR>On line 49 ==> [a, n, isScaled, top, map] = parse_inputs(varargin{:});<BR><BR>请问这要怎么解决呢?谢谢~!</P> |