Static Public Member Functions | Static Protected Member Functions
DVision::Matches Class Reference

Manages files of corresponding points. More...

#include <Matches.h>

List of all members.

Static Public Member Functions

static void Load (const std::string &filename, SurfSet &s1, SurfSet &s2, std::vector< int > &c1, std::vector< int > &c2)
static void Load (const std::string &filename, std::vector< int > &c1, std::vector< int > &c2)
static void Load (const std::string &filename, std::vector< unsigned int > &c1, std::vector< unsigned int > &c2)
static void Save (const std::string &filename, const SurfSet &s1, const SurfSet &s2, const std::vector< int > &c1, const std::vector< int > &c2)
static void Save (const std::string &filename, const std::vector< int > &c1, const std::vector< int > &c2)

Static Protected Member Functions

static void load (cv::FileStorage &fs, std::vector< int > &c1, std::vector< int > &c2)
static void save (cv::FileStorage &fs, const std::vector< int > &c1, const std::vector< int > &c2)

Detailed Description

Manages files of corresponding points.

Definition at line 34 of file Matches.h.


Member Function Documentation

void DVision::Matches::Load ( const std::string &  filename,
SurfSet s1,
SurfSet s2,
std::vector< int > &  c1,
std::vector< int > &  c2 
) [static]

Loads two correspondence vectors from filename, w/ keypoints

Parameters:
filename
s1
s2
c1
c2must be as long as c1

Definition at line 96 of file Matches.cpp.

void DVision::Matches::Load ( const std::string &  filename,
std::vector< int > &  c1,
std::vector< int > &  c2 
) [static]

Loads two correspondence vectors from filename, w/o keypoints

Parameters:
filename
c1
c2

Definition at line 51 of file Matches.cpp.

void DVision::Matches::Load ( const std::string &  filename,
std::vector< unsigned int > &  c1,
std::vector< unsigned int > &  c2 
) [static]

Loads two correspondence vectors from filename, w/o keypoints

Parameters:
filename
c1
c2

Definition at line 60 of file Matches.cpp.

void DVision::Matches::load ( cv::FileStorage &  fs,
std::vector< int > &  c1,
std::vector< int > &  c2 
) [static, protected]

Loads the correspondence vectors from the file storage

Parameters:
fs
c1
c2

Definition at line 75 of file Matches.cpp.

void DVision::Matches::Save ( const std::string &  filename,
const SurfSet s1,
const SurfSet s2,
const std::vector< int > &  c1,
const std::vector< int > &  c2 
) [static]

Saves two correspondence vectors in filename, w/ keypoints

Parameters:
filename
s1surfset with keypoints from first image
s2surfset with keypoints from second image
c1
c2must be as long as c1

Definition at line 84 of file Matches.cpp.

void DVision::Matches::Save ( const std::string &  filename,
const std::vector< int > &  c1,
const std::vector< int > &  c2 
) [static]

Saves two correspondence vectors in filename, w/o keypoints

Parameters:
filename
c1
c2must be as long as c1

File: Matches.cpp Project: DVision library Author: Dorian Galvez-Lopez Date: October 4, 2010 Description: Function to manage correspondences

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 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 <http://www.gnu.org/licenses/>.

Definition at line 33 of file Matches.cpp.

void DVision::Matches::save ( cv::FileStorage &  fs,
const std::vector< int > &  c1,
const std::vector< int > &  c2 
) [static, protected]

Adss the correspondence vectors to the file storage

Parameters:
fs
c1
c2

Definition at line 42 of file Matches.cpp.


The documentation for this class was generated from the following files:


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:29