tdp-r1-code
所属分类:Windows编程
开发工具:matlab
文件大小:208KB
下载次数:64
上传日期:2009-09-01 13:48:35
上 传 者:
hocusa
说明: Another Hierarchical Dirichlet process code
文件列表:
tdp-r1 (0, 2008-05-21)
tdp-r1\sceneLDA (0, 2008-05-21)
tdp-r1\sceneLDA\@objectpart (0, 2008-05-21)
tdp-r1\sceneLDA\@objectpart\private (0, 2008-03-27)
tdp-r1\sceneLDA\@objectpart\private\gibbs_noref.m (2856, 2005-07-18)
tdp-r1\sceneLDA\@objectpart\private\gibbs_nonRB.m (3340, 2008-03-26)
tdp-r1\sceneLDA\@objectpart\clearlabels.m (1772, 2005-07-23)
tdp-r1\sceneLDA\@objectpart\doGibbs.m (2549, 2006-03-16)
tdp-r1\sceneLDA\@objectpart\estcategory.m (1910, 2005-09-11)
tdp-r1\sceneLDA\@objectpart\getclasses.m (1085, 2005-07-23)
tdp-r1\sceneLDA\@objectpart\objectpart.m (2136, 2005-09-17)
tdp-r1\sceneLDA\@objectpart\estassign.m (1896, 2005-07-23)
tdp-r1\sceneLDA\@objectpart\getdata.m (501, 2006-03-16)
tdp-r1\sceneLDA\@objectpart\insertdata.m (1640, 2005-07-23)
tdp-r1\sceneLDA\@objectpart\sampledata.m (3799, 2005-07-23)
tdp-r1\sceneLDA\@objectpart\visualize.m (3336, 2005-08-23)
tdp-r1\sceneLDA\@objectpart\Contents.m (802, 2008-05-21)
tdp-r1\sceneLDA\@sceneobject (0, 2008-05-21)
tdp-r1\sceneLDA\@sceneobject\private (0, 2008-03-27)
tdp-r1\sceneLDA\@sceneobject\private\gibbs_refEM.m (11871, 2005-09-10)
tdp-r1\sceneLDA\@sceneobject\private\gibbs_noref.m (3996, 2005-09-10)
tdp-r1\sceneLDA\@sceneobject\private\gibbs_refSamp.m (8894, 2008-03-26)
tdp-r1\sceneLDA\@sceneobject\insertdata.m (2398, 2005-09-16)
tdp-r1\sceneLDA\@sceneobject\doGibbs.m (2851, 2005-09-22)
tdp-r1\sceneLDA\@sceneobject\estassign.m (3276, 2005-07-23)
tdp-r1\sceneLDA\@sceneobject\estcategory.m (3193, 2005-09-16)
tdp-r1\sceneLDA\@sceneobject\getclasses.m (1094, 2005-07-23)
tdp-r1\sceneLDA\@sceneobject\getreference.m (981, 2005-09-22)
tdp-r1\sceneLDA\@sceneobject\getscenes.m (1650, 2005-09-22)
tdp-r1\sceneLDA\@sceneobject\sampledata.m (6654, 2005-07-25)
tdp-r1\sceneLDA\@sceneobject\sceneobject.m (3837, 2005-09-17)
tdp-r1\sceneLDA\@sceneobject\setassign.m (1087, 2006-05-25)
tdp-r1\sceneLDA\@sceneobject\visualize.m (4476, 2005-08-24)
tdp-r1\sceneLDA\@sceneobject\clearlabels.m (4131, 2008-03-26)
tdp-r1\sceneLDA\@sceneobject\Contents.m (1031, 2008-05-21)
tdp-r1\sceneLDA\test_objectpart.m (2582, 2008-03-26)
tdp-r1\sceneLDA\test_sceneobject.m (3254, 2008-03-26)
tdp-r1\sceneTDP (0, 2008-05-21)
tdp-r1\sceneTDP\@tdpmix (0, 2008-05-21)
... ...
========================================================================
TDP (Transformed Dirichlet Process) Matlab Software
========================================================================
Copyright (C) 2008, Erik B. Sudderth and Antonio Torralba.
(sudderth[at]alum[dot]mit[dot]edu, torralba[at]csail[dot]mit[dot]edu)
The TDP software package includes several Matlab classes, as well as
auxiliary functions and scripts, which implement MCMC learning algorithms
for the models described in the following journal publication:
Describing Visual Scenes Using Transformed Objects and Parts
E. B. Sudderth, A. Torralba, W. T. Freeman, and A. S. Willsky
Int. J. Comp. Vision, vol. 77, pp. 291-330, 2008.
Please cite this paper in any publications using the TDP package.
TDP supports image/data analysis with the following model families:
* DP/HDP mixture models for "bag of word/feature" data representations.
* Parametric, latent Dirichlet allocation (LDA) models for sharing
parts among multiple object categories. IJCV Sec. 3.2, 5.3.
* Nonparametric, hierarchical Dirichlet process (HDP) models for
sharing parts among multiple object categories. IJCV Sec. 4, 5.
* Parametric, contextual models for scenes containing a fixed,
known set of object categories. IJCV Sec. 6, 9.
* Nonparametric, transformed Dirichlet process (TDP) models
for scenes with unknown sets of objects. IJCV Sec. 8, 9.
The focus of this software is on extending hierarchical topic models to
incorporate spatial dependencies, for applications in visual object
recognition and scene understanding. However, the TDP code can also be
easily used to learn simpler "bag of features" models, or used with data
arising in entirely different application domains.
========================================================================
Package Organization and Documentation
========================================================================
Each subdirectory contains either a README.txt file, or a Matlab
Contents.m directory summary, which provide more detailed documentation.
Summary of TDP package contents:
/affineFeatures:
Extraction of affine invariant and edge-based features,
computation of SIFT descriptors, and visualization.
/database:
Image databases used for experiments in the IJCV paper,
as well as precomputed features stored in Matlab .mat files.
/datastat:
Auxiliary functions used to cache sufficient statistics
of features, used by various MCMC learning algorithms.
/demoModels:
Pre-trained object and scene models, used by demo scripts.
/sceneLDA:
Matlab classes for learning parametric models with finite,
known numbers of objects and parts.
/sceneTDP:
Matlab classes for learning nonparametric, Dirichlet process models
with potentially infinite numbers of objects and parts.
/scripts:
Training, test, and visualization scripts showing how to
use the TDP package with realistic image databases.
/scripts/database*:
Scripts for precomputing sparse image features.
/utilities:
Utility routines for random number generation, statistical
evaluation of performance on test data, and visualization.
========================================================================
Setup and Usage Examples
========================================================================
For an example of sparse feature extraction, see demoAffine.m.
To use the feature extraction code, you must first take two steps:
1) Modify affineFeatures/features.m by setting HOME_TDP to the absolute
path where you installed the TDP package.
2) Download feature extraction software provided by the Oxford Visual
Geometry Group, and place it in the affineFeatures/ directory:
http://www.robots.ox.ac.uk/~vgg/software/
Files needed: h_affine.ln, mser.ln, compute_descriptors.ln
For visualizations of pre-trained TDP models for objects and scenes,
see demoHDPobject.m and demoTDPscene.m.
For simple examples demonstrating how to learn various model types from
toy data, see sceneLDA/test_*.m and sceneTDP/test_*.m.
For more complex scripts demonstrating learning and visualization with
real image databases, see the scripts/ subdirectory.
========================================================================
Acknowledgments
========================================================================
Portions of the TDP package were adapted from Yee Whye Teh's
"Nonparametric Bayesian Mixture Models" package, release 1.
Available from: http://www.gatsby.ucl.ac.uk/~ywteh
Affine-invariant feature extraction code provided by the Oxford Visual
Geometry Group: http://www.robots.ox.ac.uk/~vgg/software/
Functions for edge extraction and linkage provided by P. D. Kovesi:
MATLAB and Octave Functions for Computer Vision and Image Processing.
School of Computer Science & Software Engineering,
The University of Western Australia.
Available from: http://www.csse.uwa.edu.au/~pk/research/matlabfns/
========================================================================
Copyright & License
========================================================================
The TDP package and code were written by Erik Sudderth and Antonio Torralba,
and are copyrighted under the GNU Lesser General Public License:
Copyright (C) 2008, Erik B. Sudderth and Antonio Torralba.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see .
近期下载者:
相关文件:
收藏者: