imhist
直方图的图像数据
语法
imhist(我)
imhist(我,n)
imhist (X,地图)
[计数,binLocations] = imhist(我)
[计数,binLocations] = imhist (gpuarrayI,___)
描述
(
返回的直方图统计计数
,binLocations
)= imhist (我
)计数
和本地区binLocations
这茎(binLocations计数)
显示了直方图。对于索引的图像,imhist
返回的直方图统计每个colormap条目。的长度计数
colormap的长度是一样的。
(
在GPU执行直方图计算。输入图像和返回值计数
,binLocations
)= imhist (gpuarrayI
,___)gpuArray
年代。这种语法需要并行计算工具箱™。当输入图像gpuArray
,imhist
不会自动显示直方图。显示柱状图,使用茎(binLocations计数)
。
例子
输入参数
输出参数
提示
对于强度图像,
n
垃圾箱的直方图都半开区间的宽度一个/ (n−1)。特别是,pth本是半开区间双 单 int8 int16 int32 uint8 uint16 uint32 逻辑 一个 1 1 255年 65535年 4294967295 255年 65535年 4294967295 1 B 0 0 128年 32768年 2147483648 0 0 0 0
扩展功能
之前介绍过的R2006a
这个主题有帮助吗?