登录
首页 » matlab » PG_BOW_DEMO

PG_BOW_DEMO

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

  • DCTDigitalwatermarkingsource
    DCT水印源码 整理自lufei的水印代码 不可见数字水印(DCT watermark since finishing lufei source code is not visible watermark digital watermarking)
    2007-11-23 15:26:42下载
    积分:1
  • MATLAB_svmmatlabtoolbox
    支持向量机的工具箱,对于图像处理中的分类识别学习者有着很大帮助。分享快乐!(SVM toolbox for image processing in the classification and identification of learners have a great help to me. To share their happiness!)
    2007-10-11 01:09:43下载
    积分:1
  • all-the-recovery-algorithm
    很全很全的基于压缩感知的图像重构算法啊,很适合用初学者的,本人就很受益( recovery algorithm)
    2012-07-18 17:37:54下载
    积分:1
  • 12.2
    (1)在工具栏中点击“打开”功能出现文件打开窗口,用户选择一幅bmp图片后在指定区域居中显示该图片,若图片尺寸小于指定区域则按原始大小显示;若大于则按合适比例显示。 (2)鼠标指针在图片上停留时显示为十字形,同时在控件下方固定位置显示鼠标所在的图像x坐标和y坐标(如:50,100),以图片左上为坐标原点。 (3)在工具栏中可以点击控件实现在图片上绘制一次直线、矩形或圆等图形,在绘图过程中要求图片和图形一直可见,不能出现刷新痕迹,绘制的图形可以任意修改形状。 (4)可以任意选择图形线条的类型(虚线或直线)、颜色(三种)及粗细(三种),要求选择方式可以叠加,绘制过程要求可任意连续执行。 (5)在工具栏中点击“保存”功能出现文件保存窗口,用户可以选择保存路径来保存当前图片操作结果(包括图片和图形)。 (6)点击“关闭”功能,关闭当前图片,若操作结果尚未保存则必须弹出对话框提示用户进行保存。 ((1) in the tool bar, click on Open function has the file open window, the user selects a bmp image to center the picture in the designated area, if the image size is smaller than the specified area press the original size if more than press the appropriate scale display. (2) is shown as a cross when the mouse pointer over the image, while displaying an image x and y coordinates of the mouse cursor in a fixed position below the control (eg: 50,100) to image the upper left of the coordinate origin. (3) in the toolbar you can click controls to achieve a draw straight lines, rectangles or circles and other graphics on the picture, the requirements of pictures and graphics in the drawing process has been seen, it can not appear refreshed traces drawn graphics can be modified shape. (4) can choose the type of graph line (dashed or straight), color (three kinds) and thickness (three kinds), asked to choose the way can be superimposed, can arbitrarily draw process requires continuous exe)
    2015-10-23 12:16:41下载
    积分:1
  • dianziwenxiang
    该代码采用opencv环境来实现灰度投影估计电子稳像算法,能够很好地解决视频序列抖动问题。(The code uses the opencv environment to achieve the gray projection algorithm, which can solve the problem of video sequence jitter.)
    2015-12-08 12:05:44下载
    积分:1
  • davidlowe_correspondence
    david lowe 的matlab程序,用于图像特征点的匹配。(david lowe)
    2008-05-10 11:14:02下载
    积分:1
  • maxomin
    求二维图像的极大值点与极小值点,很好用,希望对大家有帮助(image maximum points and minimum points, very useful)
    2014-07-20 10:57:35下载
    积分:1
  • Sprite1
    对视频生成sprite图像,费了作者很大的力气,拿来与大家共享!(sprite generation of video images, and a lot of effort author, used to share with you!)
    2007-05-10 14:45:40下载
    积分:1
  • pcnotuatioz
    Histogram Histogram Histogram(The Histogram Histogram Histogram)
    2017-04-29 13:02:27下载
    积分:1
  • LMS-of-image
    最小二乘影像匹配,自己2012年8月写的程序,经过测试,内有详细注释,希望对大家有用。(Least Squares Matching write the program in August 2012, has been tested, with detailed notes, and hope to be useful.)
    2020-12-30 21:18:59下载
    积分:1
  • 696518资源总数
  • 105885会员总数
  • 31今日下载