22 #include <boost/optional.hpp> 29 template<
class CAMERA>
48 void print(
const std::string&
s =
"")
const override {
61 const typename CAMERA::MeasurementVector&
measured,
70 template<
class ARCHIVE>
72 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Base);
76 template<
class CAMERA>
80 template<
class CAMERA>
TriangulationResult triangulateSafe(const typename CAMERA::MeasurementVector &measured, const TriangulationParameters ¶ms) const
triangulateSafe
PinholeSet< CAMERA > This
Base class to create smart factors on poses or cameras.
void print(const std::string &s="") const override
print
bool equals(const CameraSet &p, double tol=1e-9) const
equals
A set of cameras, all with their own calibration.
virtual void print(const std::string &s="") const
friend class boost::serialization::access
Serialization function.
Functions for triangulation.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
static SmartStereoProjectionParams params
TriangulationResult triangulateSafe(const CameraSet< CAMERA > &cameras, const typename CAMERA::MeasurementVector &measured, const TriangulationParameters ¶ms)
triangulateSafe: extensive checking of the outcome
void serialize(ARCHIVE &ar, const unsigned int version)
bool equals(const PinholeSet &p, double tol=1e-9) const
equals