文件名称:PG_BOW_DEMO

介绍说明--下载内容均来自于网络,请自行研究使用

图像的特征用到了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 descr iption 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

...........\...\CompilePyramid.m

...........\...\do_assignment.m

...........\...\do_classification_inter_svm.m

...........\...\do_classification_rbf_svm.m

...........\...\do_normalize.m

...........\...\do_p_classification__inter_svm.m

...........\...\do_p_classification__rbf_svm.m

...........\...\draw_cm.m

...........\...\EuclideanDistance.m

...........\...\find_grid.m

...........\...\find_sift_grid.m

...........\...\GenerateSiftDescriptors.m

...........\...\hist_isect.m

...........\...\hist_isect_c.c

...........\...\hist_isect_c.mexw32

...........\...\load_image.m

...........\...\MakeDataDirectory.m

...........\...\make_dir.m

...........\...\normalize_sift.m

...........\...\num2string.m

...........\...\read_image_db.m

...........\...\rotateXLabels.m

...........\...\show_results_script.m

...........\...\sumnormalize.m

...........\images

...........\......\testing

...........\......\.......\Phoning

...........\......\.......\.......\Phoning_0041.jpg

...........\......\.......\.......\Phoning_0042.jpg

...........\......\.......\.......\Phoning_0043.jpg

...........\......\.......\.......\Phoning_0044.jpg

...........\......\.......\.......\Phoning_0045.jpg

...........\......\.......\.......\Phoning_0046.jpg

...........\......\.......\.......\Phoning_0047.jpg

...........\......\.......\.......\Phoning_0048.jpg

...........\......\.......\.......\Phoning_0049.jpg

...........\......\.......\.......\Phoning_0050.jpg

...........\......\.......\.......\Phoning_0051.jpg

...........\......\.......\.......\Phoning_0052.jpg

...........\......\.......\.......\Phoning_0053.jpg

...........\......\.......\.......\Phoning_0054.jpg

...........\......\.......\.......\Phoning_0055.jpg

...........\......\.......\.......\Phoning_0056.jpg

...........\......\.......\.......\Phoning_0057.jpg

...........\......\.......\.......\Phoning_0058.jpg

...........\......\.......\.......\Phoning_0059.jpg

...........\......\.......\.......\Phoning_0060.jpg

...........\......\.......\PlayingGuitar

...........\......\.......\.............\PlayingGuitar_0041.jpg

...........\......\.......\.............\PlayingGuitar_0042.jpg

...........\......\.......\.............\PlayingGuitar_0043.jpg

...........\......\.......\.............\PlayingGuitar_0044.jpg

...........\......\.......\.............\PlayingGuitar_0045.jpg

...........\......\.......\.............\PlayingGuitar_0046.jpg

...........\......\.......\.............\PlayingGuitar_0047.jpg

...........\......\.......\.............\PlayingGuitar_0048.jpg

...........\......\.......\.............\PlayingGuitar_0049.jpg

...........\......\.......\.............\PlayingGuitar_0050.jpg

...........\......\.......\.............\PlayingGuitar_0051.jpg

...........\......\.......\.............\PlayingGuitar_0052.jpg

...........\......\.......\.............\PlayingGuitar_0053.jpg

...........\......\.......\.............\PlayingGuitar_0054.jpg

...........\......\.......\.............\PlayingGuitar_0055.jpg

...........\......\.......\.............\PlayingGuitar_0056.jpg

...........\......\.......\.............\PlayingGuitar_0057.jpg

...........\......\.......\.............\PlayingGuitar_0058.jpg

...........\......\.......\.............\PlayingGuitar_0059.jpg

...........\......\.......\.............\PlayingGuitar_0060.jpg

...........\......\.......\RidingBike

...........\......\.......\..........\RidingBike_0041.jpg

...........\......\.......\..........\RidingBike_0042.jpg

...........\......\.......\..........\RidingBike_0043.jpg

...........\......\.......\..........\RidingBike_0044.jpg

...........\......\.......\..........\RidingBike_0045.jpg

...........\......\.......\..........\RidingBike_0046.jpg

...........\......\.......\..........\RidingBike_0047.jpg

...........\......\.......\..........\RidingBike_0048.jpg

...........\......\.......\..........\RidingBike_0049.jpg

...........\......\.......\..........\RidingBike_0050.jpg

...........\......\.......\..........\RidingBike_0051.jpg

...........\......\.......\..........\RidingBike_0052.jpg

...........\......\.....

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org