SfmData stores a bunch of SfmTracks.
|
|
class | boost::serialization::access |
| | Serialization function.
|
|
template<class Archive> |
| void | serialize (Archive &ar, const unsigned int) |
|
| static SfmData | FromBundlerFile (const std::string &filename) |
| | Parses a bundler output file and return result as SfmData instance.
|
| static SfmData | FromBalFile (const std::string &filename) |
| | Parse a "Bundle Adjustment in the Large" (BAL) file and return result as SfmData instance.
|
|
|
std::vector< SfmCamera > | cameras |
| | Set of cameras.
|
|
std::vector< SfmTrack > | tracks |
| | Sparse set of points.
|
◆ FromBalFile()
| SfmData gtsam::SfmData::FromBalFile |
( |
const std::string & | filename | ) |
|
|
static |
Parse a "Bundle Adjustment in the Large" (BAL) file and return result as SfmData instance.
- Parameters
-
| filename | The name of the BAL file. |
- Returns
- SfM structure where the data is stored.
◆ FromBundlerFile()
| SfmData gtsam::SfmData::FromBundlerFile |
( |
const std::string & | filename | ) |
|
|
static |
Parses a bundler output file and return result as SfmData instance.
- Parameters
-
| filename | The name of the bundler file |
| data | SfM structure where the data is stored |
- Returns
- true if the parsing was successful, false otherwise
◆ generalSfmFactors()
Create projection factors using keys i and P(j).
- Parameters
-
| model | a noise model for projection errors |
- Returns
- NonlinearFactorGraph
◆ sfmFactorGraph()
Create factor graph with projection factors and gauge fix.
Note: pose keys are simply integer indices, points use Symbol('p', j).
- Parameters
-
| model | a noise model for projection errors |
| fixedCamera | which camera to fix, if any (use boost::none if none) |
| fixedPoint | which point to fix, if any (use boost::none if none) |
- Returns
- NonlinearFactorGraph
The documentation for this struct was generated from the following files:
- /tmp/gtsam-4.2-docs.H5EUbA/src/gtsam/sfm/SfmData.h
- /tmp/gtsam-4.2-docs.H5EUbA/src/gtsam/sfm/SfmData.cpp