DVision::Matches Class Reference
Manages files of corresponding points.
More...
#include <Matches.h>
List of all members.
Static Public Member Functions |
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 | Load (const std::string &filename, SurfSet &s1, SurfSet &s2, std::vector< int > &c1, std::vector< int > &c2) |
static void | Save (const std::string &filename, const std::vector< int > &c1, const 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 Protected Member Functions |
static void | save (cv::FileStorage &fs, const std::vector< int > &c1, const std::vector< int > &c2) |
static void | load (cv::FileStorage &fs, std::vector< int > &c1, std::vector< int > &c2) |
Detailed Description
Manages files of corresponding points.
Member Function Documentation
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:
-
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:
-
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:
-
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 | |
| c2 | must be as long as c1 |
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:
-
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 | |
| 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/>.
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 | |
| s1 | surfset with keypoints from first image |
| s2 | surfset with keypoints from second image |
| c1 | |
| c2 | must be as long as c1 |
The documentation for this class was generated from the following files: