No more default
parent
613cb0bb12
commit
155f64e1bf
|
@ -48,7 +48,7 @@ public:
|
||||||
virtual Vector evaluateError(const Pose3& pose, boost::optional<Matrix&> H =
|
virtual Vector evaluateError(const Pose3& pose, boost::optional<Matrix&> H =
|
||||||
boost::none) const {
|
boost::none) const {
|
||||||
SimpleCamera camera(pose, *K_);
|
SimpleCamera camera(pose, *K_);
|
||||||
Point2 reprojectionError(camera.project(P_, H) - p_);
|
Point2 reprojectionError(camera.project(P_, H, boost::none, boost::none) - p_);
|
||||||
return reprojectionError.vector();
|
return reprojectionError.vector();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue