资源简介
作者主页:http://www.robots.ox.ac.uk/~joao/circulant/
主要源码是从作者主页下载的,谨把输入从图片序列改成了视频和摄像头,并添加了OpenCV的dll,没有配置OpenCV的也一样可以运行。
源码编译和运行说明参看:http://blog.csdn.net/zhj_matlab/article/details/69945307
代码片段和文件信息
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING COPYING INSTALLING OR USING.
//
// By downloading copying installing or using the software you agree to this license.
// If you do not agree to this license do not download install
// copy or use the software.
//
//
// License Agreement
// For Open Source Computer Vision Library
//
// Copyright (C) 2010-2013 University of Nizhny Novgorod all rights reserved.
// Third party copyrights are property of their respective owners.
//
// Redistribution and use in source and binary forms with or without modification
// are permitted provided that the following conditions are met:
//
// * Redistribution‘s of source code must retain the above copyright notice
// this list of conditions and the following disclaimer.
//
// * Redistribution‘s 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.
//
// * The name of the copyright holders may not be used to endorse or promote products
// derived from this software without specific prior written permission.
//
// 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 Intel Corporation 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.
//
//M*/
//Modified from latentsvm module‘s “lsvmc_featurepyramid.cpp“.
//#include “precomp.hpp“
//#include “_lsvmc_latentsvm.h“
//#include “_lsvmc_resizeimg.h“
#include “fhog.hpp“
#ifdef HAVE_TBB
#include
#include “tbb/parallel_for.h“
#include “tbb/blocked_range.h“
#endif
#ifndef max
#define max(ab) (((a) > (b)) ? (a) : (b))
#endif
#ifndef min
#define min(ab) (((a) < (b)) ? (a) : (b))
#endif
/*
// Getting feature map for the selected subimage
//
// API
// int getFeatureMaps(const IplImage * image const int k featureMap **map);
// INPUT
// image - selected subimage
// k - size of cells
// OUTPUT
// map - feature map
// RESULT
// Error status
*/
int getFeatureMaps(const IplImage* image const int k CvLSVMFeatureMapCaskade **map)
{
int sizeX sizeY;
int p px stringSize;
int height width nu
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 8352568 2017-03-21 17:35 KCFDemo\car.mp4
文件 6751 2015-12-02 04:10 KCFDemo\ffttools.hpp
文件 17120 2015-12-02 04:10 KCFDemo\fhog.cpp
文件 5605 2015-12-02 04:10 KCFDemo\fhog.hpp
文件 19040 2015-12-02 04:10 KCFDemo\kcftracker.cpp
文件 6188 2015-12-02 04:10 KCFDemo\kcftracker.hpp
文件 617 2015-12-02 04:10 KCFDemo\labdata.hpp
文件 268 2017-04-06 18:39 KCFDemo\readme.txt
文件 4345 2017-03-11 11:55 KCFDemo\recttools.hpp
文件 78336 2017-04-06 17:41 KCFDemo\Release\KCFDemo.exe
文件 822700 2017-04-06 17:41 KCFDemo\Release\KCFDemo.iobj
文件 191568 2017-04-06 17:41 KCFDemo\Release\KCFDemo.ipdb
文件 2256896 2017-04-06 17:41 KCFDemo\Release\KCFDemo.pdb
文件 1524224 2017-03-12 10:47 KCFDemo\Release\opencv_calib3d320.dll
文件 9221120 2017-03-12 10:45 KCFDemo\Release\opencv_core320.dll
文件 701952 2017-03-12 10:46 KCFDemo\Release\opencv_features2d320.dll
文件 16480768 2017-03-12 10:11 KCFDemo\Release\opencv_ffmpeg320.dll
文件 424448 2017-03-12 10:45 KCFDemo\Release\opencv_flann320.dll
文件 146432 2017-03-12 10:46 KCFDemo\Release\opencv_highgui320.dll
文件 2356224 2017-03-12 10:45 KCFDemo\Release\opencv_imgcodecs320.dll
文件 18655744 2017-03-12 10:45 KCFDemo\Release\opencv_imgproc320.dll
文件 633344 2017-03-12 10:45 KCFDemo\Release\opencv_ml320.dll
文件 555008 2017-03-12 10:46 KCFDemo\Release\opencv_objdetect320.dll
文件 803328 2017-03-12 10:45 KCFDemo\Release\opencv_photo320.dll
文件 285696 2017-03-12 10:45 KCFDemo\Release\opencv_shape320.dll
文件 915456 2017-03-12 10:47 KCFDemo\Release\opencv_stitching320.dll
文件 272384 2017-03-12 10:46 KCFDemo\Release\opencv_superres320.dll
文件 428544 2017-03-12 10:45 KCFDemo\Release\opencv_video320.dll
文件 242176 2017-03-12 10:46 KCFDemo\Release\opencv_videoio320.dll
文件 579072 2017-03-12 10:47 KCFDemo\Release\opencv_videostab320.dll
............此处省略7个文件信息
评论
共有 条评论