Manages files of corresponding points. More...
#include <Matches.h>
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) |
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
filename | |
s1 | |
s2 | |
c1 | |
c2 | must 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
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
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
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
filename | |
s1 | surfset with keypoints from first image |
s2 | surfset with keypoints from second image |
c1 | |
c2 | must 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
filename | |
c1 | |
c2 | must 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
fs | |
c1 | |
c2 |
Definition at line 42 of file Matches.cpp.