资源简介
该安装包主要包含opencv2.1所需的资源,也可单独获取bin、include、lib等文件
代码片段和文件信息
/***********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
* Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
*
* THE BSD LICENSE
*
* Redistribution and use in source and binary forms with or without
* modification are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice this list of conditions and the following disclaimer.
* 2. 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 AUTHOR ‘‘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 AUTHOR 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.
*************************************************************************/
#include
#include
#include “flann.h“
#include “timer.h“
#include “common.h“
#include “logger.h“
#include “index_testing.h“
#include “saving.h“
#include “object_factory.h“
// index types
#include “kdtree_index.h“
#include “kmeans_index.h“
#include “composite_index.h“
#include “linear_index.h“
#include “autotuned_index.h“
#include
using namespace std;
#include “flann.h“
#ifdef WIN32
#define EXPORTED extern “C“ __declspec(dllexport)
#else
#define EXPORTED extern “C“
#endif
namespace flann
{
typedef objectFactory ParamsFactory;
IndexParams* IndexParams::createFromParameters(const FLANNParameters& p)
{
IndexParams* params = ParamsFactory::instance().create(p.algorithm);
params->fromParameters(p);
return params;
}
NNIndex* LinearIndexParams::createIndex(const Matrix& dataset) const
{
return new LinearIndex(dataset *this);
}
NNIndex* KDTreeIndexParams::createIndex(const Matrix& dataset) const
{
return new KDTreeIndex(dataset *this);
}
NNIndex* KMeansIndexParams::createIndex(const Matrix& dataset) const
{
return new KMeansIndex(dataset *this);
}
NNIndex* CompositeIndexParams::createIndex(const Matrix& dataset) const
{
return new CompositeIndex(dataset *this);
}
NNIndex* AutotunedIndexParams::createIndex(const Matrix& dataset) const
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 347 2010-01-11 16:34 OpenCV2.1\3rdparty\CMakeLists.txt
文件 19250 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\algorithms\autotuned_index.h
文件 3255 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\algorithms\composite_index.h
文件 1945 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\algorithms\dist.cpp
文件 6329 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\algorithms\dist.h
文件 17009 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\algorithms\kdtree_index.h
文件 28640 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\algorithms\kmeans_index.h
文件 2793 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\algorithms\linear_index.h
文件 2944 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\algorithms\nn_index.h
文件 2807 2010-03-13 02:19 OpenCV2.1\3rdparty\flann\CMakeLists.txt
文件 2163 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\constants.h
文件 12806 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\flann.cpp
文件 9997 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\flann.h
文件 7275 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\flann.hpp
文件 2976 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\nn\ground_truth.h
文件 10087 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\nn\index_testing.cpp
文件 2608 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\nn\index_testing.h
文件 5670 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\nn\simplex_downhill.h
文件 5522 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\util\allocator.h
文件 1909 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\util\common.h
文件 4802 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\util\heap.h
文件 2535 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\util\logger.cpp
文件 2628 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\util\logger.h
文件 4058 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\util\matrix.h
文件 2900 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\util\ob
文件 1960 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\util\random.cpp
文件 3476 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\util\random.h
文件 6551 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\util\result_set.h
文件 2491 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\util\saving.cpp
文件 2564 2009-11-18 20:41 OpenCV2.1\3rdparty\flann\util\saving.h
............此处省略1969个文件信息
- 上一篇:基于SSM航空票务系统
- 下一篇:逻辑电路设计DE2-115实战宝典范例代码
评论
共有 条评论