登录
首页 » matlab » PG_BOW_DEMO

PG_BOW_DEMO

于 2011-11-01 发布 文件大小:3501KB
0 110
下载积分: 1 下载次数: 567

代码说明:

  图像的特征用到了Dense Sift,通过Bag of Words词袋模型进行描述,当然一般来说是用训练集的来构建词典,因为我们还没有测试集呢。虽然测试集是你拿来测试的,但是实际应用中谁知道测试的图片是啥,所以构建BoW词典我这里也只用训练集。 其实BoW的思想很简单,虽然很多人也问过我,但是只要理解了如何构建词典以及如何将图像映射到词典维上去就行了,面试中也经常问到我这个问题,不知道你们都怎么用生动形象的语言来描述这个问题? 用BoW描述完图像之后,指的是将训练集以及测试集的图像都用BoW模型描述了,就可以用SVM训练分类模型进行分类了。 在这里除了用SVM的RBF核,还自己定义了一种核: histogram intersection kernel,直方图正交核。因为很多论文说这个核好,并且实验结果很显然。能从理论上证明一下么?通过自定义核也可以了解怎么使用自定义核来用SVM进行分类。(Image features used in a Dense Sift, by the Bag of Words bag model to describe the word, of course, the training set is generally used to build the dictionary, because we do not test set. Although the test set is used as the test you, but who knows the practical application of the test image is valid, so I am here to build BoW dictionary only the training set. In fact, BoW idea is very simple, although many people have asked me, but as long as you understand how to build a dictionary and how to image map to the dictionary D up on the line, and interviews are often asked me this question, do not know you all how to use vivid language to describe this problem? After complete description of the image with BoW, refers to the training set and test set of images are described with the BoW model, the training of SVM classification model can be classified. Apart from having to use the RBF kernel SVM, but also their own definition of a nuclear: histogram intersection kernel, histogram )

文件列表:

PG_BOW_DEMO
...........\BOW
...........\...\CalculateDictionary.m,3821,2011-10-24
...........\...\CompilePyramid.m,3354,2011-10-24
...........\...\do_assignment.m,2384,2011-10-24
...........\...\do_classification_inter_svm.m,2198,2011-10-24
...........\...\do_classification_rbf_svm.m,1731,2011-10-24
...........\...\do_normalize.m,875,2010-12-21
...........\...\do_p_classification__inter_svm.m,2243,2011-10-24
...........\...\do_p_classification__rbf_svm.m,1382,2011-10-24
...........\...\draw_cm.m,1132,2011-10-24
...........\...\EuclideanDistance.m,1303,2010-12-21
...........\...\find_grid.m,446,2011-10-24
...........\...\find_sift_grid.m,4292,2010-09-08
...........\...\GenerateSiftDescriptors.m,2765,2011-10-24
...........\...\hist_isect.m,759,2009-01-17
...........\...\hist_isect_c.c,3305,2010-10-31
...........\...\hist_isect_c.mexw32,8192,2010-10-31
...........\...\load_image.m,154,2010-06-01
...........\...\MakeDataDirectory.m,601,2011-10-24
...........\...\make_dir.m,223,2008-12-10
...........\...\normalize_sift.m,650,2008-12-10
...........\...\num2string.m,324,2010-06-01
...........\...\read_image_db.m,264,2010-06-01
...........\...\rotateXLabels.m,14315,2010-10-16
...........\...\show_results_script.m,551,2011-10-24
...........\...\sumnormalize.m,258,2010-09-27
...........\images
...........\......\testing
...........\......\.......\Phoning





...........\......\.......\.......\Phoning_0046.jpg,8039,2010-12-01
...........\......\.......\.......\Phoning_0047.jpg,7224,2010-12-01
...........\......\.......\.......\Phoning_0048.jpg,5127,2010-12-01
...........\......\.......\.......\Phoning_0049.jpg,7508,2010-12-01
...........\......\.......\.......\Phoning_0050.jpg,8208,2010-12-01
...........\......\.......\.......\Phoning_0051.jpg,5768,2010-12-01
...........\......\.......\.......\Phoning_0052.jpg,8054,2010-12-01
...........\......\.......\.......\Phoning_0053.jpg,4570,2010-12-01
...........\......\.......\.......\Phoning_0054.jpg,6483,2010-12-01
...........\......\.......\.......\Phoning_0055.jpg,10949,2010-12-01
...........\......\.......\.......\Phoning_0056.jpg,6162,2010-12-01
...........\......\.......\.......\Phoning_0057.jpg,6260,2010-12-01
...........\......\.......\.......\Phoning_0058.jpg,6075,2010-12-01
...........\......\.......\.......\Phoning_0059.jpg,6552,2010-12-01
...........\......\.......\.......\Phoning_0060.jpg,6937,2010-12-01
...........\......\.......\PlayingGuitar





...........\......\.......\.............\PlayingGuitar_0046.jpg,6645,2010-12-01
...........\......\.......\.............\PlayingGuitar_0047.jpg,7999,2010-12-01
...........\......\.......\.............\PlayingGuitar_0048.jpg,6086,2010-12-01
...........\......\.......\.............\PlayingGuitar_0049.jpg,8494,2010-12-01
...........\......\.......\.............\PlayingGuitar_0050.jpg,8091,2010-12-01
...........\......\.......\.............\PlayingGuitar_0051.jpg,6623,2010-12-01
...........\......\.......\.............\PlayingGuitar_0052.jpg,8579,2010-12-01
...........\......\.......\.............\PlayingGuitar_0053.jpg,6667,2010-12-01
...........\......\.......\.............\PlayingGuitar_0054.jpg,8841,2010-12-01
...........\......\.......\.............\PlayingGuitar_0055.jpg,6044,2010-12-01
...........\......\.......\.............\PlayingGuitar_0056.jpg,9012,2010-12-01
...........\......\.......\.............\PlayingGuitar_0057.jpg,6193,2010-12-01
...........\......\.......\.............\PlayingGuitar_0058.jpg,7634,2010-12-01
...........\......\.......\.............\PlayingGuitar_0059.jpg,7334,2010-12-01
...........\......\.......\.............\PlayingGuitar_0060.jpg,6169,2010-12-01
...........\......\.......\RidingBike





...........\......\.......\..........\RidingBike_0046.jpg,7738,2010-12-01
...........\......\.......\..........\RidingBike_0047.jpg,12070,2010-12-01
...........\......\.......\..........\RidingBike_0048.jpg,10762,2010-12-01
...........\......\.......\..........\RidingBike_0049.jpg,9391,2010-12-01
...........\......\.......\..........\RidingBike_0050.jpg,10658,2010-12-01
...........\......\.......\..........\RidingBike_0051.jpg,9922,2010-12-01
...........\......\.......\..........\RidingBike_0052.jpg,8439,2010-12-01
...........\......\.......\..........\RidingBike_0053.jpg,18064,2010-12-01
...........\......\.......\..........\RidingBike_0054.jpg,8102,2010-12-01
...........\......\.......\..........\RidingBike_0055.jpg,12955,2010-12-01
...........\......\.......\..........\RidingBike_0056.jpg,10017,2010-12-01
...........\......\.......\..........\RidingBike_0057.jpg,11733,2010-12-01
...........\......\.......\..........\RidingBike_0058.jpg,8225,2010-12-01
...........\......\.......\..........\RidingBike_0059.jpg,11828,2010-12-01
...........\......\.......\..........\RidingBike_0060.jpg,10048,2010-12-01
...........\......\.......\RidingHorse





...........\......\.......\...........\RidingHorse_0046.jpg,7993,2010-12-01
...........\......\.......\...........\RidingHorse_0047.jpg,10127,2010-12-01

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • band_math
    idl进行波段运算的小程序band_math(idl procedures for small-band operation)
    2010-11-23 13:44:50下载
    积分:1
  • target-tracking-radar
    下面是利用卡尔曼滤波的方法,实现雷达对目标的跟踪:一目标沿水平方向运动,起始位置为(-2000米,1000米),运动速度为15米/秒,扫描周期T=2秒, 米,采用蒙特卡洛方法对跟踪滤波器进行仿真,仿真次数为100次。(Below is the use of Kalman filtering method, to achieve the target tracking radar. Parameter :: a target in a horizontal direction, the starting position (2000m, 1000m), the motion speed of 15 m/s, the scan period T = 2 seconds, rice, Monte Carlo method using the tracking filter simulation, simulation 100 times.)
    2013-05-23 16:13:31下载
    积分:1
  • SAMP
    稀疏自适应匹配追踪算法,无需稀疏度,就可以重构原始信号。(Sparse adaptive matching pursuit algorithm, without sparsity, we can reconstruct the original signal.)
    2021-02-23 16:59:40下载
    积分:1
  • frft_candon
    离散分数阶傅立叶变换,算法参考 C. Candan, M.A. Kutay, and H.M. Ozaktas. The discrete Fractional Fourier Transform. IEEE Trans. Sig. Proc., 48:1329--1337, 2000 (Discrete fractional Fourier transform algorithm reference C. Candan, MA Kutay, and HM Ozaktas. The discrete Fractional Fourier Transform. IEEE Trans. Sig. Proc., 48:1329- 1337, 2000)
    2013-10-23 18:27:29下载
    积分:1
  • main
    1.模式匹配:子串在主串中的定位,也叫字符串匹配。模式匹配成功是指在主串S中能够找到模式串T,否则,称模式串T在主串S中不存在。 2.模式匹配的应用在非常广泛。例如,在文本编辑程序中,我们经常要查找某一特定单词在文本中出现的位置。 3.模式匹配算法的研究能极大地提高文本编辑程序的响应性能。 (1 pattern matching: substring positioned in the main string, also called string matching. Pattern matching refers success can be found in the main string S pattern string T, otherwise known as pattern string T does not exist in the main string S. 2 pattern matching in a very wide range. For example, in a text-editing program, we often have to find the location of a particular word appears in the text. 3 study of pattern matching algorithms can greatly improve the response performance of text editing program.)
    2014-04-20 13:55:31下载
    积分:1
  • example
    基于K均值聚类的图像分割,灰度图像分割案例,真彩图像分割案例(K-means clustering-based image segmentation, image segmentation case, the true color image segmentation case)
    2021-04-20 16:08:50下载
    积分:1
  • fourier
    傅里叶变换及其逆变换的基于VC6.0实现(Fourier transform and its inverse transform)
    2011-05-29 23:18:30下载
    积分:1
  • DIP3E_Chapter07_Art
    数字图像处理第三版(冈萨雷斯)附带课件PPT,第七章,英文原版(Digital Image Processing PPT by Gonzalez & Woods(3rd edition),Chapter 7)
    2011-02-09 10:28:59下载
    积分:1
  • EMGMMSeg
    对图像进行GMM(混合高斯)拟合后用EM算法进行分割(Image GMM (Gaussian Mixture) after fitting algorithm using EM Segmentation)
    2008-01-11 15:43:44下载
    积分:1
  • demo_sr
    说明:  用于图像处理的图像降噪领域,有需要的可以自己进行下载。(In the field of image noise reduction for image processing, you can download it yourself if necessary.)
    2019-12-30 22:36:42下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 31今日下载