![]() |
Optimization of Visual Odometry System
1.2.0
CS133 Course Project
|
SnavelyReprojectionError The structure to record the parameters of error in the reprojection process.
More...
#include <BA_tools.hpp>
Public Member Functions | |
| SnavelyReprojectionError (double observed_x, double observed_y) | |
| Pass the parameters into the structure. More... | |
| template<typename T > | |
| bool | operator() (const T *const camera, const T *const point, const T *const K, T *residuals) const |
Static Public Member Functions | |
| static ceres::CostFunction * | Create (const double observed_x, const double observed_y) |
Public Attributes | |
| double | observed_x |
| double | observed_y |
SnavelyReprojectionError The structure to record the parameters of error in the reprojection process.
Definition at line 88 of file BA_tools.hpp.
|
inline |
Pass the parameters into the structure.
SnavelyReprojectionError() The constructor of the structure.
| [in] | observed_x | The x-axis position of the observation point |
| [in] | observed_y | The y-axis position of the observation point |
Definition at line 96 of file BA_tools.hpp.

|
inlinestatic |
Create() Creating a new autodiffcostfunction for the observed position.
| [in] | observed_x | The x-axis position of the observation point |
| [in] | observed_y | The y-axis position of the observation point |
Definition at line 139 of file BA_tools.hpp.


|
inline |
operator() Creating a new autodiffcostfunction for the observed position.
| [in] | camera | The position of the camera. |
| [in] | point | The position of the predicted 3D point. |
| [in] | K | The intrinsic parameter matrix. |
| [in] | residuals | The error between real point and prediction. |
Definition at line 107 of file BA_tools.hpp.
| double SnavelyReprojectionError::observed_x |
Definition at line 144 of file BA_tools.hpp.
| double SnavelyReprojectionError::observed_y |
Definition at line 145 of file BA_tools.hpp.