登录
首页 » matlab » PG_BOW_DEMO

PG_BOW_DEMO

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

  • TV_resto
    图像去噪处理的TV全变分模型的Matlab代码实现(TV image denoising processing model of the entire variational Matlab code)
    2020-08-25 15:48:14下载
    积分:1
  • KMS_project
    KMS跟踪算法源代码,目前最快的但目标跟踪算法(没有之一)。工程可以直接运行(KMS tracking algorithm source code, but the fastest target tracking algorithm. Project can be run directly)
    2014-11-06 09:21:39下载
    积分:1
  • Cal_entropy
    说明:  基于matlab平台计算一副图像的信息熵(Calculate the entropy of an iamge using matlab)
    2009-07-30 19:59:37下载
    积分:1
  • IVS
    打开一个图像或者视频文件,相应的轮廓检测功能,视频运动物体的跟踪功能(applications on image,tracking objects in the video)
    2010-11-22 21:46:29下载
    积分:1
  • PLSA
    PLSA源码,并附有PLSA理论在图像自动标注中的应用,有几篇具有代表性的论文,论文中讨论了PLSA的改进并应用在图像处理中。(PLSA source code, with PLSA theory in automatic image annotation application, some of the representative papers, thesis discusses the PLSA improvement and application in image processing.)
    2011-11-23 09:03:49下载
    积分:1
  • sonar-image-data
    硕士学位论文:在高分辨率成像声纳系统和回波测深仪的两个控制平台的基础上对声纳图像数据的高速显示技术的研究。文中所有的程序编写都是使用C和C++语言,在WindowsXP平台下利用VC++6.0进行编译和调试的。(study for high speed display technology on sonar image data)
    2012-05-02 07:37:04下载
    积分:1
  • Landsat5_Calibration
    用于Landsat5 TM数据的辐射定标(Calibration for Landsat TM data using IDL)
    2018-01-02 19:50:58下载
    积分:1
  • CurveLab-2.1.2.tar
    说明:  Matlab曲波变换工具箱,安装在matlab上,可以应用曲波变换(Matlab curvelet transformation toolbox)
    2020-04-13 22:26:18下载
    积分:1
  • Natural-Image-Sketching-Production
    现有自然图像素描画效果生成算法存在容易造成画面细节丢失,笔画线条单一等问题。针对这些问题,本文提出了一种改进的自然图像素描画效果生成算法,通过模拟艺术家创作素描画过程,分步生成素描画图像底纹和素描画场景笔画轮廓,采用8个方向卷积滤波提取图像中不同方向的细节信息,并使用不同长度不同粗细的笔画来模拟艺术家在创作过程中不同力度的绘画效果,最后合并素描画笔画效果和素描画图像底纹,得到与原输入自然图像内容一致,色调与艺术家绘制的素描画效果相同,笔画和底纹形式与实际素描画相似,真实感较强的素描画效果输出图像。大量实验结果表明本文方法可以生成高质量的自然图像素描画效果,与现有成熟的铅笔画生成技术相笔,本文方法具有较强的可比性。(The existing algorithms for natural image sketch production are easy to cause some problems such as the loss of image details, singleness of the stroke line. To solve these problems, this paper proposes an improved algorithm for the natural image sketch effect producing. By simulating the artist creation process of sketch, step-by-step generate image shading sketch image shading and drawing the scene outline stroke of the sketch image, using 8 directions of convolution filter to extract the details of different directions in the image, furthermore, using the stroke of different length and thickness to simulate the painting effect of different strength in the process of artist creation, finally we merge the sketch stroke effect and sketch image background to get the output image, which have consistent content with the original input image, have the same tonal effect with artists draw sketch, have the similar Stroke and background form with the actual sketch and have strong real sense in)
    2014-12-16 16:31:25下载
    积分:1
  • yichuansuanfa
    说明:   针对雾天下拍摄图像的退化现象,远景部分是一块灰度分布比较集中且接近天空亮度的区域,而近景部分可以分辨,其灰度分布比较分散。提出了一种基于遗传算法阈值分割的雾天图像增强方法;该方法首先用遗传算法求出近远景的分割阈值将图像分割[1]出来,然后对两个部分分别进行清晰化处理。(make the picture clear)
    2011-02-21 10:57:18下载
    积分:1
  • 696516资源总数
  • 106611会员总数
  • 19今日下载