C1C2
所属分类:图形图像处理
开发工具:matlab
文件大小:16KB
下载次数:109
上传日期:2008-06-12 15:55:41
上 传 者:
csb_tom_new
说明: 本源码是利用视觉仿生学成果进行目标识别的最新成果。c1 c2特征是MIT的Poggio教授的研究小组根据人眼视觉仿生的研究成果提出的特征。运用该特征对自然图像中的目标识别取得了较好的效果。本压缩包为提取C1 C2特征的Matlab源码。C1 C2特征的详细说明参见IEEE PAMI 2007上的文献"Robust Object Recognition with Cortex-Like Mechanisms"。
(The source is the use of visual object recognition bionics results of the latest achievements. c1 c2 characterized by MIT Professor of Poggio research team in accordance with human visual biomimetic study the characteristics of the results. Use of the characteristics of the natural image object recognition has achieved good results. The compressed packet to extract the characteristics of C1 C2 source Matlab. C1 C2 features a detailed description see the IEEE PAMI 2007 literature Robust Object Recognition with Cortex-Like Mechanisms .)
文件列表:
standardmodelmatlabrelease (0, 2007-06-29)
standardmodelmatlabrelease\C1.m (4964, 2007-06-29)
standardmodelmatlabrelease\C2.m (1632, 2005-06-11)
standardmodelmatlabrelease\CLSnn.m (1504, 2005-06-11)
standardmodelmatlabrelease\CLSnnC.m (1116, 2005-06-11)
standardmodelmatlabrelease\CLSosusvm.m (1530, 2005-06-11)
standardmodelmatlabrelease\CLSosusvmC.m (669, 2005-06-11)
standardmodelmatlabrelease\demoRelease.m (3080, 2005-07-12)
standardmodelmatlabrelease\extractC2forcell.m (1696, 2005-07-12)
standardmodelmatlabrelease\extractRandC1Patches.m (1784, 2005-07-12)
standardmodelmatlabrelease\init_gabor.m (1469, 2005-06-07)
standardmodelmatlabrelease\maxfilter.m (1350, 2005-06-11)
standardmodelmatlabrelease\padimage.m (733, 2005-06-11)
standardmodelmatlabrelease\readAllImages.m (740, 2005-07-02)
standardmodelmatlabrelease\sumfilter.m (724, 2005-06-11)
standardmodelmatlabrelease\unpadimage.m (930, 2005-06-11)
standardmodelmatlabrelease\WindowedPatchDistance.m (807, 2005-06-11)
==============================================================================
Copyright 2005
Center for Biological & Computational Learning at MIT and MIT
All rights reserved.
Permission to copy and modify this data, software, and its documentation only
for internal research use in your organization is hereby granted, provided
that this notice is retained thereon and on all copies. This data and software
should not be distributed to anyone outside of your organization without
explicit written authorization by the author(s) and MIT. It should not be
used for commercial purposes without specific permission from the authors
and MIT. MIT also requires written authorization by the author(s) to publish
results obtained with the data or software and possibly citation of relevant
CBCL reference papers.
We make no representation as to the suitability and operability of this data
or software for any purpose. It is provided "as is" without express or implied
warranty.
==============================================================================
This directory contains a new implementation of the methods described in:
T. Serre, L. Wolf and T. Poggio. Object Recognition with Features
Inspired by Visual Cortex. To Appear In: Proceedings of 2005 IEEE
Computer Society Conference on Computer Vision and Pattern
Recognition (CVPR 2005), IEEE Computer Society Press, San Diego,
June 2005.
A more complete AI Memo version is available at
(ftp://publications.ai.mit.edu/ai-publications/2004/AIM-2004-026.pdf).
This new implementation is faster and easier to use than the original
one, and was tested to be almost fully compatible with it. Lior Wolf,
Stan Bileschi and Thomas Serre contributed to this implementation
which is based on the C implementation written by Thomas. Parts of
that C implementation were based on an earlier C code by Max
Riesenhuber,
BEFORE YOU RUN
==============
1. Set the directories for the positive and negative images. There are
four directories: train_set.pos, train_set.net, test_set.pos and
test_set.net. These are set at lines 18-21 of demoRelease.m
2. The input images have to be grayscale. Although the algorithm has
some invariance to scale, it might be a good idea to scale all images
to the same height. We use a height of 140 pixels in many of our
experiments.
3. If you would like to use an SVM classifier, please install OSU SVM
(http://www.ece.osu.edu/~maj/osu_svm/). Add the path of OSU SVM to the
second line of demoRelease. If you'd prefer a NN classifier set useSVM
(line 5) to zero.
4. If you'd like the algorithm to learn its own object-specific features
set READPATCHESFROMFILE (line 9) to zero (should give somewhat better
results on many datasets). If not, you can use the universal features
that are stored in PatchesFromNaturalImages250per4sizes.mat. This is done
by setting READPATCHESFROMFILE to one. The stored prototypes are taken
from a set of "natural images" we collected.
Contents of the directory:
MAIN DEMO
=========
demoRelease.m - a demo showing a possible use of the code in this
directory. The demo reads a set of images, extracts the C2 features
for this set, and builds a classifier to learn the class of images.
MAIN STANDARD MODEL FUNCTIONS
=============================
C1.m - extracts s1 and c1 layers of the standard model representation
C2.m - extracts s2 and c2 layers of the standard model representation
CLASSIFICATION FUNCTIONS
========================
CLSnn.m - Nearest Neighbor classifier train
CLSnnC.m - Nearest Neighbor classifier test
CLSosusvm.m - SVM train (a wrapper function for osusvm)
CLSosusvmC.m - SVM test (a wrapper function for osusvm)
UTILITY FUNCTIONS
=================
extractC2forcell.m - extracts C2 for all images in a cell, using
all prototypes in another cell
extractRandC1Patches.m - extracts random C1 patches to serve as prototypes
init_gabor.m - creates Gabor filters
maxfilter.m - local maximum in an image
padimage.m - adds zeros around the boundary of the image
readAllImages.m - reads all images in training and testing
directories into one cell
sumfilter.m - local sums in an image
unpadimage.m - reverses the effect of padimage
WindowedPatchDistance.m - scans an image looking for the best match
for a prototype (image fragment)
PRECOMPUTED UNIVERSAL FEATURES
==============================
PatchesFromNaturalImages250per4sizes.mat
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
BUG FIXES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Jul 01 2005 - changed bugs in extractC2forcell, extractRandC1Patches.m
近期下载者:
相关文件:
收藏者: