Call dispatched SchurComplement, now in CameraSet
parent
421ad49048
commit
d924c11d41
|
|
@ -208,11 +208,10 @@ public:
|
||||||
Matrix E;
|
Matrix E;
|
||||||
Vector b;
|
Vector b;
|
||||||
computeJacobiansWithTriangulatedPoint(Fblocks, E, b, cameras);
|
computeJacobiansWithTriangulatedPoint(Fblocks, E, b, cameras);
|
||||||
Matrix P = Base::PointCov(E, lambda, diagonalDamping);
|
|
||||||
|
|
||||||
// build augmented hessian
|
// build augmented hessian
|
||||||
SymmetricBlockMatrix augmentedHessian = CameraSet<CAMERA>::SchurComplement(
|
SymmetricBlockMatrix augmentedHessian = //
|
||||||
Fblocks, E, P, b);
|
Cameras::SchurComplement(Fblocks, E, b, lambda, diagonalDamping);
|
||||||
|
|
||||||
return boost::make_shared<RegularHessianFactor<Base::Dim> >(this->keys_,
|
return boost::make_shared<RegularHessianFactor<Base::Dim> >(this->keys_,
|
||||||
augmentedHessian);
|
augmentedHessian);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue