MCPcopy Create free account
hub / github.com/UniflexAI/tinynav / ReprojectionError

Method ReprojectionError

tinynav/cpp/bundle_adjustment.cpp:28–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26class ReprojectionError {
27public:
28 ReprojectionError(Eigen::Vector2d observed_keypoint, Eigen::Matrix3d K)
29 : observed_keypoint_(observed_keypoint), K_(K) {}
30 template<typename T>
31 bool operator()(const T* camera_parameters, const T* point_parameters, T* residuals) const {
32 using Vector3T = Eigen::Matrix<T, 3, 1>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected