76 #ifndef SLIP_PINHOLEFAUGERASCAMERA_HPP
77 #define SLIP_PINHOLEFAUGERASCAMERA_HPP
91 #include <boost/serialization/access.hpp>
92 #include <boost/serialization/split_member.hpp>
93 #include <boost/serialization/version.hpp>
94 #include <boost/serialization/base_object.hpp>
98 template <
typename Type>
101 template <
typename Type>
102 std::ostream& operator<<(std::ostream & out, const PinholeFaugerasCamera<Type>& c);
115 template <
typename Type>
192 template<
class Archive>
193 void save(Archive & ar,
const unsigned int version)
const
195 ar & boost::serialization::base_object<slip::PinholeCamera<Type> >(*this);
197 template<
class Archive>
198 void load(Archive & ar,
const unsigned int version)
200 ar & boost::serialization::base_object<slip::PinholeCamera<Type> >(*this);
202 BOOST_SERIALIZATION_SPLIT_MEMBER()
210 template<
typename Type>
211 std::ostream& operator<<(std::ostream & out, const slip::PinholeFaugerasCamera<Type>& c)
213 out<<*c.calibration_matrix_<<std::endl;
218 #endif //SLIP_PINHOLEFAUGERASCAMERA_HPP
PinholeFaugerasCamera()
Default constructor of PinholeFaugerasCamera.
friend class boost::serialization::access
Provides a class to modelize 3d points.
Define a PinholeCamera class.
void compute(const slip::Matrix< Type > &P)
Computes the parameters of the pinhole camera model.
Provides a camera algorithms.
Define a PinholeFaugerasCamera class.
Provides a Pinhole camera model class.
Provides common linear algebra algorithms.
self & operator=(const self &rhs)
Assign a PinholeFaugerasCamera.
Provides an abstract class to model cameras.
PinholeFaugerasCamera(const self &rhs)
Constructs a copy of the PinholeFaugerasCamera rhs.
slip::Matrix< Type > * calibration_matrix_
void getpars_Faugeras(const slip::Matrix< Type > &P, slip::Matrix< Type > &Mat)
Get calibration parameters using the Faugeras-Algorithm.
Provides a class to manipulate Numerical Matrix.
Provides a class to modelize 2d points.
self & operator=(const self &rhs)
Assign a PinholeCamera.
Define an abstract CameraModel class.