This folder contains the Matlab code for the Color Attention algorithm proposed in ICCV'09 paper "Top-Down Color Attention for Object recognition" [1].
The code is only provided as a guideline for implementation. As an example we provide the results on the SOCCER data set [3]. The algorithm first computes the probability of all the categories provided the color visual words. These probabilities are then further used to compute a weighted histogram by sampling the shape visual words.
Input: The algorithm requires:
a) The color visual word indexes based on Hue descriptor [2].
b) The Shape visual word indexes based on SIFT descriptor.
The indexes are stored in a cell structure where each element refers to one image in the data set. These have been precomputed. First feature locations and scales have been detected with an interest point detector. Next for all features in the image the indexes have been computed by assigning the descriptors to color and shape visual words.
Output: The Color Attention histogram.
Run Example_CA for an example on how to use the algorithm.
For any questions, contact me:
Fahad Shahbaz Khan
email: fahad@cvc.uab.cat
[1] F. Shahbaz Khan, J. van de Weijer, M. Vanrell, Top-Down Color Attention for Object Recognition, Proc. ICCV, Kyoto, Japan, 2009.
[2] J. van de Weijer, C. Schmid, Coloring Local Feature Extraction , Proc. ECCV, Part II, 334-348, Graz, Austria, 2006.
[3] http://lear.inrialpes.fr/people/vandeweijer/data
没有合适的资源?快使用搜索试试~ 我知道了~
CA_Code.tar.gz_CA matlab_color_the code
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 138 浏览量
2022-09-23
12:15:05
上传
评论
收藏 515KB GZ 举报
温馨提示
共13个文件
m:7个
mat:5个
txt:1个
to analysis the color feature
资源推荐
资源详情
资源评论
收起资源包目录
CA_Code.tar.gz (13个子文件)
CA_Code
README.txt 1KB
Do_PCW.m 608B
Do_CA.m 1KB
Example_CA.m 933B
normalize.m 828B
Init_Soccer.m 636B
Labels
trainset.mat 188B
testset.mat 189B
labels.mat 218B
Do_Classification.m 636B
Construct_Color_Hist.m 423B
Data
Shape_Index.mat 300KB
Color_Index.mat 211KB
共 13 条
- 1
资源评论
JaniceLu
- 粉丝: 84
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功