24 #ifndef MULTIMARKERBUNDLE_H 25 #define MULTIMARKERBUNDLE_H 36 #include <Eigen/StdVector> 56 return (
int) (frame*marker_indices.size()*4)+(get_id_index(marker_id)*4)+marker_corner;
73 void MeasurementsReset();
85 void MeasurementsAdd(
const std::vector<M, Eigen::aligned_allocator<M> > *markers,
const Pose& camera_pose) {
88 _MeasurementsAdd(begin, end,
int optimization_keyframes
void MeasurementsAdd(const std::vector< M, Eigen::aligned_allocator< M > > *markers, const Pose &camera_pose)
Adds new measurements that are used in bundle adjustment.
int measurements_index(int frame, int marker_id, int marker_corner)
int GetOptimizationKeyframes()
int GetOptimizationMarkers()
Base class for using MultiMarker.
Simple Camera class for calculating distortions, orientation or projections with pre-calibrated camer...
OptimizeMethod
Selection between the algorithm used in optimization. Following should be noticed: ...
This file implements several optimization algorithms.
Multi marker that uses bundle adjustment to refine the 3D positions of the markers (point cloud)...
Pose representation derived from the Rotation class
std::map< int, PointDouble > measurements
Iterator type for traversing templated Marker vector without the template.
This file implements a multi-marker.
Iterator implementation for traversing templated Marker vector without the template.
double GetOptimizationError()
std::vector< Pose > camera_poses
double optimization_error