# midfilter_reid
Matlab code for our CVPR 2014 work on learning mid-level filters for person
re-identification.
Created by [Rui Zhao](www.ee.cuhk.edu.hk/~rzhao), on June 20, 2014.
##Summary
In this package, you can find an updated version of MATLAB code for the
following paper:
- Rui Zhao, Wanli Ouyang, and Xiaogang Wang. Unsupervised Salience Learning for
Person Re-identification. In CVPR 2014.
##Install
- Download [CUHK01
dataset](https://docs.google.com/forms/d/1MF0gAXWKeO1hpsuHlSpPBS8D5JR-r-QOPtdUoFQJONo/viewform?formkey=dF9pZ1BFZkNiMG1oZUdtTjZPalR0MGc6MA), and put it into directory ./dataset/campus/
- Compile [LibSVM](http://www.csie.ntu.edu.tw/~cjlin/libsvm/): and put it to
directory ./code/libsvm
- [GACtoolbox](https://github.com/waynezhanghk/gactoolbox): the gactoolbox in
subfolder ./code/gactoolbox is a revised version. Using the original repository
may cause problem.
- [DenseFeat](https://github.com/Robert0812/dense_feat): we use the dense color
and SIFT feature, the code for extracting dense features is preliminarily cloned
to ./code/densefeat
- PatchMatch: the patch matching code in ./code/patchmatch/rowcolop_core.cpp is
clone from Dahua Lin's [Statistical Learning
Toolbox](http://www.mathworks.com/matlabcentral/fileexchange/12333-statistical-learning-toolbox), and you need to mex it for using patch match functions.
- [Structural
SVM](http://www.robots.ox.ac.uk/~vedaldi/code/svm-struct-matlab.html): we only
provide a preliminarily compiled lib for 64-bit windows in ./code/rsvm/, for
other platforms, you are referred to Prof. Andrea Vedaldi's webpage to download the
full code to compile.
##Demos
One demo is available:
- demo_midfilter_cuhk01.m : perform evaluation on the [CUHK01
dataset](https://docs.google.com/forms/d/1MF0gAXWKeO1hpsuHlSpPBS8D5JR-r-QOPtdUoFQJONo/viewform?formkey=dF9pZ1BFZkNiMG1oZUdtTjZPalR0MGc6MA)
##Remarks
- This implementation is a little different than the original version in the
training / testing partition, so that the result may vary a little. If you use
the default parameter settings, you are suppose to get 33.3% rank-1 matching
rate for only one-trial testing.
- The training / testing partition is generated following the approach
[SDALF](http://www.lorisbazzani.info/code-datasets/sdalf-descriptor/)
- This demo was tested on MATLAB (R2012b), 64-bit Windows, Intel Xeon 3.33 GHz CPU
- Intermediate cache data would take up to 26GB disk memory
- Memory cost of demo on the CUHK01 dataset would be around 40GB.
##Citing our work
Please kindly cite our work in your publications if it helps your research:
@inproceedings{zhao2014learning,
title = {Learning Mid-level Filters for Person Re-identification},
author={Zhao, Rui and Ouyang, Wanli and Wang, Xiaogang},
booktitle = {IEEE Conference on Computer Vision and Pattern
Recognition (CVPR)},
year = {2014}
}
##License
Copyright (c) 2014, Rui Zhao
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
没有合适的资源?快使用搜索试试~ 我知道了~
Robert0812-midfilter_reid.zip
共117个文件
m:52个
mexw64:17个
cpp:14个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 49 浏览量
2023-08-18
22:55:48
上传
评论
收藏 40.55MB ZIP 举报
温馨提示
Robert0812-midfilter_reid.zip
资源推荐
资源详情
资源评论
收起资源包目录
Robert0812-midfilter_reid.zip (117个子文件)
svmtrain_old.c 11KB
svmtrain.c 11KB
svmpredict.c 9KB
svm-train.c 9KB
svm_model_matlab.c 8KB
svm-scale.c 7KB
svm-predict.c 5KB
libsvmread.c 4KB
libsvmwrite.c 2KB
svm.cpp 61KB
gacLlinks_c.cpp 5KB
gdlInitAffinityTable_knn_c.cpp 5KB
rowcolop_core.cpp 3KB
gacPartial_sort.cpp 3KB
gacPartialMin_knn_c.cpp 3KB
gacOnelink_c.cpp 3KB
gdlInitAffinityTable_c.cpp 2KB
gdlComputeAffinity.cpp 2KB
gacPartialMin_triu_c.cpp 2KB
gdlDirectedAffinity_batch_c.cpp 2KB
gdlDirectedAffinity_c.cpp 1KB
gdlAffinity_c.cpp 1KB
gdlComputeDirectedAffinity.cpp 1KB
svm.def 434B
svm.h 3KB
gacPartial_sort.h 3KB
svm_model_matlab.h 201B
LICENSE 1KB
demo_midfilter_cuhk01.m 14KB
sp_dense_sift.m 6KB
gdlMergingKNN_c.m 6KB
initialcontext.m 6KB
slmetric_pw.m 6KB
gdlMerging_c.m 4KB
gacMerging.m 4KB
sp_dense_color.m 4KB
get_phi.m 3KB
build_hierachical_tree.m 3KB
discretesample.m 3KB
build_densefeature_general.m 3KB
test_svm_struct_learn.m 3KB
normdata.m 2KB
gdlCluster.m 2KB
phiFun_new.m 2KB
auc_partition.m 2KB
gacCluster.m 2KB
get_phi_fire.m 2KB
set_paths.m 2KB
myconstraintCB.m 2KB
constrainRS.m 2KB
myfeatureCB.m 1KB
featureRS.m 1KB
gacNNMerge.m 1KB
gacBuildDigraph_c.m 1KB
mutualmap.m 1KB
gacBuildLlinks_cwarpper.m 1KB
gen_dgauss.m 1KB
gacBuildDigraph.m 1KB
wk_conv.m 1KB
gacPathCondEntropy.m 1KB
gacZetaCondEntropy.m 981B
gdlAffinity.m 972B
evaluate_pwdist.m 955B
get_densefeature.m 938B
make.m 829B
struct_ranksvm_train_rerank.m 765B
gdlAffinity_increment.m 748B
gdlDirectedAffinity.m 721B
struct_ranksvm_train.m 708B
sladdrowcols.m 705B
gacMink.m 655B
lossRS.m 576B
mylossCB.m 498B
compileMexFiles.m 458B
gacPathEntropy.m 420B
gacZetaEntropy.m 404B
get_saj.m 362B
gdlCompileMex.m 300B
gacFindKcCluster.m 293B
sqDistance.m 113B
Makefile 1KB
filter_all.mat 30.33MB
posemask_campus.mat 9.82MB
partition_campus.mat 15KB
README.md 4KB
README.md 3KB
gacLlinks_c.mexa64 19KB
gacOnelink_c.mexa64 18KB
gacPartial_sort.mexa64 13KB
gdlInitAffinityTable_knn_c.mexa64 13KB
gdlInitAffinityTable_c.mexa64 12KB
gdlDirectedAffinity_batch_c.mexa64 8KB
gdlDirectedAffinity_c.mexa64 8KB
gdlAffinity_c.mexa64 8KB
gacPartialMin_triu_c.mexa64 8KB
gacPartialMin_knn_c.mexa64 8KB
svmtrain.mexw32 48KB
rowcolop_core.mexw32 8KB
svm_struct_learn.mexw64 117KB
libsvmtrain.mexw64 63KB
共 117 条
- 1
- 2
资源评论
AbelZ_01
- 粉丝: 896
- 资源: 5441
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功