• 大小: 0.17M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-03-27
  • 语言: 其他
  • 标签: 其他  

资源简介


利用特征袋BOF和空间金字塔SPM用于15个场景图像分类

资源截图

代码片段和文件信息

function [ H_all ] = BuildHistograms( imageFileList databaseDir featureSuffix dictionarySize canSkip )
%function [ H_all ] = BuildHistograms( imageFileList databaseDir featureSuffix dictionarySize canSkip )
%
%find texton labels of patches and compute texton histograms of all images
%   
% For each image the set of sift descriptors is loaded and then each
%  descriptor is labeled with its texton label. Then the global histogram
%  is calculated for the image. If you wish to just use the Bag of Features
%  image descriptor you can stop at this step H_all is the histogram or
%  Bag of Features descriptor for all input images.
%
% imageFileList: cell of file paths
% imagebaseDir: the base directory for the image files
% databaseDir: the base directory for the data files that are generated
%  by the algorithm. If this dir is the same as imagebaseDir the files
%  will be generated in the same location as the image file
% featureSuffix: this is the suffix appended to

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2009-01-17 20:46  images\
     文件       50221  2008-10-03 21:16  images\p1010843.jpg
     文件       27646  2008-10-03 21:16  images\p1010844.jpg
     文件       34972  2008-10-03 21:16  images\p1010845.jpg
     文件       25299  2008-10-03 21:16  images\p1010846.jpg
     文件       29458  2008-10-03 21:16  images\p1010847.jpg
     文件        2224  2009-01-17 20:34  hist_isect_c.c
     文件        3872  2008-12-10 16:46  BuildHistograms.m
     文件        2889  2009-01-17 20:36  BuildPyramid.m
     文件        3645  2008-12-10 16:46  CalculateDictionary.m
     文件        4315  2009-01-17 20:42  CompilePyramid.m
     文件         853  2009-01-17 20:58  Example.m
     文件        3004  2008-12-10 16:46  GenerateSiftDescriptors.m
     文件         759  2009-01-17 20:48  hist_isect.m
     文件         979  2009-01-17 20:47  sp_dist2.m
     文件         449  2008-12-10 16:46  sp_find_grid.m
     文件        4187  2008-12-10 16:46  sp_find_sift_grid.m
     文件        3758  2009-01-17 20:01  sp_kmeans.m
     文件         154  2008-12-10 16:46  sp_load_image.m
     文件         223  2008-12-10 16:46  sp_make_dir.m
     文件         650  2008-12-10 16:46  sp_normalize_sift.m
     文件        3407  2009-08-03 13:04  ReadMe.txt

评论

共有 条评论