MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
bundler_common.cc File Reference
#include <iostream>
#include <algorithm>
#include <fstream>
#include <limits>
#include <sstream>
#include <vector>
#include <cstring>
#include <cerrno>
#include "util/exception.h"
#include "sfm/bundler_common.h"
Include dependency graph for bundler_common.cc:

Go to the source code of this file.

Namespaces

namespace  sfm
 Structure-from-Motion library.
 
namespace  sfm::bundler
 SfM bundler components.
 

Macros

#define PREBUNDLE_SIGNATURE   "MVE_PREBUNDLE\n"
 
#define PREBUNDLE_SIGNATURE_LEN   14
 
#define SURVEY_SIGNATURE   "MVE_SURVEY\n"
 
#define SURVEY_SIGNATURE_LEN   11
 

Functions

void sfm::bundler::load_prebundle_data (std::istream &in, ViewportList *viewports, PairwiseMatching *matching)
 
void sfm::bundler::load_prebundle_from_file (std::string const &filename, ViewportList *viewports, PairwiseMatching *matching)
 Loads the pre-bundle data from file, initializing viewports and matching.
 
void sfm::bundler::load_survey_from_file (std::string const &filename, SurveyPointList *survey_points)
 Loads survey points and their observations from file.
 
void sfm::bundler::save_prebundle_data (ViewportList const &viewports, PairwiseMatching const &matching, std::ostream &out)
 
void sfm::bundler::save_prebundle_to_file (ViewportList const &viewports, PairwiseMatching const &matching, std::string const &filename)
 Saves the pre-bundle data to file, which records all viewport and matching data necessary for incremental structure-from-motion.
 
math::Vec2f sfm::bundler::undistort_feature (math::Vec2f const &f, double const k1, double const k2, float const focal_length)
 

Macro Definition Documentation

◆ PREBUNDLE_SIGNATURE

#define PREBUNDLE_SIGNATURE   "MVE_PREBUNDLE\n"

Definition at line 22 of file bundler_common.cc.

◆ PREBUNDLE_SIGNATURE_LEN

#define PREBUNDLE_SIGNATURE_LEN   14

Definition at line 23 of file bundler_common.cc.

◆ SURVEY_SIGNATURE

#define SURVEY_SIGNATURE   "MVE_SURVEY\n"

Definition at line 25 of file bundler_common.cc.

◆ SURVEY_SIGNATURE_LEN

#define SURVEY_SIGNATURE_LEN   11

Definition at line 26 of file bundler_common.cc.