MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
bundler_features.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_FEATURES_HEADER
11#define SFM_BUNDLER_FEATURES_HEADER
12
13#include <string>
14#include <limits>
15
16#include "mve/scene.h"
17#include "sfm/feature_set.h"
18#include "sfm/bundler_common.h"
19#include "sfm/defines.h"
20
23
29{
30public:
42
43public:
44 explicit Features (Options const& options);
45
47 void compute (mve::Scene::Ptr scene, ViewportList* viewports);
48
49private:
50 Options opts;
51};
52
53/* ------------------------ Implementation ------------------------ */
54
55inline
56Features::Options::Options (void)
57 : image_embedding("original")
58 , max_image_size(std::numeric_limits<int>::max())
59{
60}
61
62inline
64 : opts(options)
65{
66}
67
70
71#endif /* SFM_BUNDLER_FEATURES_HEADER */
std::shared_ptr< Scene > Ptr
Definition scene.h:37
Bundler Component: Computes image features for every view in the scene and stores the features in the...
Features(Options const &options)
std::vector< Viewport > ViewportList
The list of all viewports considered for bundling.
STL namespace.
#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
Options for feature detection and matching.
Definition feature_set.h:40
FeatureSet::Options feature_options
Feature set options.
std::string image_embedding
The image for which features are to be computed.
int max_image_size
The maximum image size given in number of pixels.