MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
correspondence.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2015, Simon Fuhrmann
3 * TU Darmstadt - Graphics, Capture and Massively Parallel Computing
4 * All rights reserved.
5 *
6 * This software may be modified and distributed under the terms
7 * of the BSD 3-Clause license. See the LICENSE.txt file for details.
8 */
9
10#ifndef SFM_CORRESPONDENCE_HEADER
11#define SFM_CORRESPONDENCE_HEADER
12
13#include <vector>
14
15#include "math/matrix.h"
16#include "sfm/defines.h"
17
19
20struct Correspondence2D2D;
21typedef std::vector<Correspondence2D2D> Correspondences2D2D;
22
24typedef std::vector<Correspondence2D3D> Correspondences2D3D;
25
27typedef std::pair<int, int> CorrespondenceIndex;
29typedef std::vector<CorrespondenceIndex> CorrespondenceIndices;
30
37{
38 double p1[2];
39 double p2[2];
40};
41
47{
48 double p3d[3];
49 double p2d[2];
50};
51
53
54#endif // SFM_CORRESPONDENCE_HEADER
std::vector< CorrespondenceIndex > CorrespondenceIndices
A list of all matching feature pairs in two images.
std::vector< Correspondence2D2D > Correspondences2D2D
std::pair< int, int > CorrespondenceIndex
The IDs of a matching feature pair in two images.
std::vector< Correspondence2D3D > Correspondences2D3D
#define SFM_NAMESPACE_END
Definition defines.h:14
#define SFM_NAMESPACE_BEGIN
Definition defines.h:13
Two image coordinates which correspond to each other in terms of observing the same point in the scen...
A 3D point and an image coordinate which correspond to each other in terms of the image observing thi...