ihist.m
来自「来自澳大利亚Qeensland大学的计算机视觉Matlab工具箱。 This 」· M 代码 · 共 31 行
M
31 行
%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 + =
减小字号Ctrl + -
显示快捷键?