📄 ihist.m
字号:
%IHIST Image histogram (fast)%% ihist(image)% h = ihist(image)%% Compute a greylevel histogram of IMAGE. Much faster than the builtin% hist() function. The histogram is fixed with 256 bins spanning% the greylevel range 0 to 255.%% The first form displays the histogram, the second form returns the% histogram.%% SEE ALSO: hist%% Copyright (c) Peter Corke, 1999 Machine Vision Toolbox for Matlabfunction [h,x] = ihist(im) [hh,xx] = fhist(im); if nargout == 0, plot(xx, hh); xlabel('Greylevel') ylabel('Number of pixels'); elseif nargout == 1, h = hh; elseif nargout == 2, h = hh; x = xx; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -