matlab中的颜色直方图算法 [英] a color histogram algorithm in matlab

查看:811
本文介绍了matlab中的颜色直方图算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编写一篇名为 VSUMM 的文章的代码。

但是我停止了编码的一步,我不知道我是不是是不是写了??

根据文章:

在VSUMM中,颜色直方图算法应用于HSV颜色空间,这是操作的流行选择HSV色彩空间的开发是为了提供直观的色彩表现,并且接近人类感知
和操纵色彩的方式。 VSUMM颜色直方图仅由Hue分量计算,Hue分量表示纯形式的主要光谱分量颜色(Manjunath
等,2001)。此外,颜色直方图的量化被设置为16个颜色区间,旨在显着减少数据量而不丢失重要信息。颜色箱值是通过实验测试确定的(参见Avila等,2008b)。


这一步我完成了这个,是否正确:

i'm trying to write the code of an article which name is VSUMM.
but i'm stopped in one step of coding and i do not know if i'm write or not!?
acoording to Article:
In VSUMM, the color histogram algorithm is applied to the HSV color space, which is a popular choice for manipulating color.The HSV color space was developed to provide an intuitive representation of color and to be near to the way in which humans perceive and manipulate color. The VSUMM color histogram is computed only from the Hue component, which represents the dominant spectral component color in its pure form (Manjunath et al., 2001). Moreover, the quantization of the color histogram is set to 16 color bins, aiming at reducing significantly the amount of data without loosing important information. The color bins value was established through experimental tests (see Avila et al., 2008b).
for this step i've done this,is it correct:

b=imread('pics\1.jpeg');
hsv = rgb2hsv(b);
h = hsv(:,:,1);


推荐答案

是的,它看起来不错。但是,请使用 imhist 而不是 hist

Yes, it looks good. However, use imhist instead of hist.

这篇关于matlab中的颜色直方图算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆