MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
bundler_tracks.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_BUNDLER_TRACKS_HEADER
11#define SFM_BUNDLER_TRACKS_HEADER
12
13#include "mve/scene.h"
15#include "sfm/defines.h"
16
19
26class Tracks
27{
28public:
29 struct Options
30 {
31 Options (void);
32
35 };
36
37public:
38 explicit Tracks (Options const& options);
39
46 void compute (PairwiseMatching const& matching,
47 ViewportList* viewports, TrackList* tracks);
48
49private:
50 int remove_invalid_tracks (ViewportList* viewports, TrackList* tracks);
51
52private:
53 Options opts;
54};
55
56/* ------------------------ Implementation ------------------------ */
57
58inline
59Tracks::Options::Options (void)
60 : verbose_output(false)
61{
62}
63
64inline
65Tracks::Tracks (Options const& options)
66 : opts(options)
67{
68}
69
72
73#endif /* SFM_BUNDLER_TRACKS_HEADER */
Bundler Component: Generation of tracks from pairwise matching result.
Tracks(Options const &options)
std::vector< Viewport > ViewportList
The list of all viewports considered for bundling.
std::vector< Track > TrackList
The list of all tracks.
std::vector< TwoViewMatching > PairwiseMatching
The matching result between several pairs of views.
#define SFM_BUNDLER_NAMESPACE_END
Definition defines.h:17
#define SFM_BUNDLER_NAMESPACE_BEGIN
Definition defines.h:16
#define SFM_NAMESPACE_END
Definition defines.h:14
#define SFM_NAMESPACE_BEGIN
Definition defines.h:13
bool verbose_output
Produce status messages on the console.