Go to the documentation of this file.
45 if (!
s.empty()) std::cout <<
s <<
" ";
46 std::cout << *
this << std::endl;
65 const double x =
p.x(),
y =
p.y();
87 const double u = pi.x(),
v = pi.y();
88 double delta_u = u -
u0_, delta_v =
v -
v0_;
89 double inv_f = 1.0 /
fx_;
94 (*Dcal) << -inv_f *
point.x(), -inv_f *
point.y();
Cal3f()=default
Default constructor.
typedef and functions to augment Eigen's VectorXd
void print(const std::string &s="") const override
print with optional string
std::ostream & operator<<(std::ostream &os, const Dih6 &m)
typedef and functions to augment Eigen's MatrixXd
Calibration model with a single focal length and zero skew.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
ofstream os("timeSchurFactors.csv")
const Cal3_S2 cal(focalLength, focalLength, 0.0, principalPoint.x(), principalPoint.y())
bool equals(const Cal3f &K, double tol=1e-9) const
assert equality up to a tolerance
Common base class for all calibration models.
Calibration model with a single focal length and zero skew.
virtual Matrix3 K() const
return calibration matrix K
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
bool equals(const Cal3 &K, double tol=10e-9) const
Check if equal up to specified tolerance.
Vector1 vector() const
vectorized form (column-wise)
Point2 calibrate(const Point2 &pi, OptionalJacobian< 2, 1 > Dcal={}, OptionalJacobian< 2, 2 > Dp={}) const
Array< int, Dynamic, 1 > v
The matrix class, also used for vectors and row-vectors.
Point2 uncalibrate(const Point2 &p, OptionalJacobian< 2, 1 > Dcal={}, OptionalJacobian< 2, 2 > Dp={}) const
: convert intrinsic coordinates xy to image coordinates uv Version of uncalibrate with derivatives
double v0_
principal point
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:01:56