リンクb.jpg
i=imread('b.jpg');
i1=rgb2gray(i);
i2=im2double(i);
j=log(1+i2);
1.1。
これで、画像のヒストグラムを取得できます。
imhist(j);
エラーを言う:
??? Error using ==> iptcheckinput
Function IMHIST expected its first input, I or X, to be two-dimensional.
Error in ==> imhist>parse_inputs at 270
iptcheckinput(a, {'double','uint8','logical','uint16','int16','single'}, ...
Error in ==> imhist at 57
[a, n, isScaled, top, map] = parse_inputs(varargin{:});
================================================== ===========================
2.関数の図をどのように描くことができますか?
plot(j,i2);
??? Error using ==> plot
Data may not have more than 2 dimensions
================================================== ============================3.どのようにしてガンマを取得できますかj