登录
首页 » matlab » PG_BOW_DEMO

PG_BOW_DEMO

于 2011-11-01 发布 文件大小:3501KB
0 208
下载积分: 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 个回复

  • LSM_Match_2010-5-1
    说明:  最二小乘影像匹配,精度可以达到0.01个像素,也可以最二小乘影像模板匹配。经过修改后可以直接用,只要调用一个函数就搞定,函数参数的说明很清楚,绝对不会有任何困难,非常好用。(Most two Theravada image matching accuracy can reach 0.01 pixel images can also be the most two Theravada template matching. After modifications can be directly used, as long as is you call a function, function parameters, the description is clear and will not have any difficulties, very easy to use.)
    2010-04-30 16:42:22下载
    积分:1
  • 08340742uwt
    MATLAB程序-按物理光学模型生成PSF(MATLAB program - generating PSF by physical optics model)
    2021-04-09 16:38:59下载
    积分:1
  • ColorDWT
    彩色图像的DWT变换及水印提取,可以成功实现(Color image DWT watermark embedding and extraction (attack))
    2015-06-08 14:36:07下载
    积分:1
  • fly111
    基于链码提取的傅立叶描述子,以及傅立叶反变换对图象边界进行重建 (chain code extraction based on Fourier descriptors, and the Fourier transform of image reconstruction border)
    2007-05-26 08:08:04下载
    积分:1
  • Fuzzy_K
    高光谱遥感图像模糊c均值聚类算法的matlab实现(hyperspectral remote sensing images fuzzy c-means clustering algorithm to achieve the Matlab)
    2007-06-05 09:20:29下载
    积分:1
  • matlab
    说明:  matlab书上第六章数值运算的几个样例习题。。。。。(the descirbtion of the matlab)
    2019-05-15 19:54:04下载
    积分:1
  • tuxingfenxi.zip
    实现边缘特征提取的功能有很强的特征提取功能能够边缘特征进行提取(Edge feature extraction to achieve the function of the characteristics of a strong edge feature extraction functions can be extracted)
    2009-06-17 18:07:18下载
    积分:1
  • Adaptive-fuzzy-K-means-
    在本文中,我们提出了一个 所谓自适应模糊-K-均值聚类新方法 (AFKM)聚类的图像分割这可能是 适用于一般的图像和/或特定的图象(即 医疗和显微图像),采用不同的拍摄的 消费类电子产品,即,例如,在 普通数码相机和CCD相机(In this paper, we present a new clustering algorithm called Adaptive Fuzzy-K-means (AFKM) clustering for image segmentation which could be applied on general images and/or specific images (i.e., medical and microscopic images), captured using different consumer electronic products namely, for example, the common digital cameras and CCD cameras)
    2014-05-06 17:12:33下载
    积分:1
  • 掌纹双峰法二值化
    掌纹图像双峰法二值化,边界跟踪提取掌纹轮廓线,harris角点,手动提取关键点建立坐标系和画正方形(Palmprint image bimodal binary, boundary tracking extract palmprint contour, harris angle manually extract key point to establish a coordinate system and draw a square)
    2020-07-08 16:18:56下载
    积分:1
  • Tracking
    使用VC++ 6.0 和 OpenCv实现粒子滤波目标跟踪算法,主要功能在MFC对话框内实现。(particle filter object tracking)
    2011-08-21 22:30:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载