Go to the documentation of this file.
37 enum { dimension = 1 };
54 ~
Cal3f()
override =
default;
64 void print(
const std::string&
s =
"")
const override;
74 inline double f()
const {
return fx_; }
88 OptionalJacobian<2, 2> Dp = {})
const;
97 Point2 calibrate(
const Point2& pi, OptionalJacobian<2, 1> Dcal = {},
98 OptionalJacobian<2, 2> Dp = {})
const;
105 size_t dim()
const override {
return Dim(); }
108 inline static size_t Dim() {
return dimension; }
121 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
123 friend class boost::serialization::access;
124 template <
class Archive>
125 void serialize(Archive& ar,
const unsigned int ) {
126 ar& BOOST_SERIALIZATION_NVP(fx_);
127 ar& BOOST_SERIALIZATION_NVP(u0_);
128 ar& BOOST_SERIALIZATION_NVP(v0_);
Eigen::Matrix< double, 1, 1 > Vector1
static size_t Dim()
Return DOF, dimensionality of tangent space.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
static const double d[K][N]
std::ostream & operator<<(std::ostream &os, const Dih6 &m)
Common code for all Calibration models.
Calibration model with a single focal length and zero skew.
double f() const
focal length
Both ManifoldTraits and Testable.
ofstream os("timeSchurFactors.csv")
const Cal3_S2 cal(focalLength, focalLength, 0.0, principalPoint.x(), principalPoint.y())
size_t dim() const override
Return DOF, dimensionality of tangent space.
void print(const Matrix &A, const string &s, ostream &stream)
Cal3f retract(const Vector &d) const
Update calibration with tangent space delta.
Common base class for all calibration models.
static const Pose3 T2(Rot3::Rodrigues(0.3, 0.2, 0.1), P2)
Vector1 localCoordinates(const Cal3f &T2) const
Calculate local coordinates to another calibration.
Point2_ uncalibrate(const Expression< CALIBRATION > &K, const Point2_ &xy_hat)
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
The matrix class, also used for vectors and row-vectors.
std::shared_ptr< Cal3 > shared_ptr
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:01:56