Added derivatives to Errors
parent
fdbff461f3
commit
0fee8f37a6
|
|
@ -140,9 +140,10 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Calculate vector of re-projection errors
|
/// Calculate vector of re-projection errors
|
||||||
Vector reprojectionErrors(const Point3& point,
|
Vector reprojectionErrors(const Point3& point, const std::vector<Z>& measured,
|
||||||
const std::vector<Z>& measured) const {
|
boost::optional<FBlocks&> F = boost::none, //
|
||||||
return ErrorVector(project2(point), measured);
|
boost::optional<Matrix&> E = boost::none) const {
|
||||||
|
return ErrorVector(project2(point,F,E), measured);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Calculate vector of re-projection errors, from point at infinity
|
/// Calculate vector of re-projection errors, from point at infinity
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue