|
|
std::pair< Point2, bool > | projectSafe (const Point3 &pw) const |
| | Project a point into the image and check depth.
|
| |
| Point2 | project (const Point3 &pw, boost::optional< Matrix & > Dpose=boost::none, boost::optional< Matrix & > Dpoint=boost::none, boost::optional< Matrix & > Dcal=boost::none) const |
| | project a point from world coordinate to the image More...
|
| |
| Point2 | projectPointAtInfinity (const Point3 &pw, boost::optional< Matrix & > Dpose=boost::none, boost::optional< Matrix & > Dpoint=boost::none, boost::optional< Matrix & > Dcal=boost::none) const |
| | project a point at infinity from world coordinate to the image More...
|
| |
| Point2 | project2 (const Point3 &pw, boost::optional< Matrix & > Dcamera=boost::none, boost::optional< Matrix & > Dpoint=boost::none) const |
| | project a point from world coordinate to the image More...
|
| |
|
Point3 | backproject (const Point2 &p, double depth) const |
| | backproject a 2-dimensional point to a 3-dimensional point at given depth
|
| |
|
Point3 | backprojectPointAtInfinity (const Point2 &p) const |
| | backproject a 2-dimensional point to a 3-dimensional point at infinity
|
| |
| double | range (const Point3 &point, boost::optional< Matrix & > Dpose=boost::none, boost::optional< Matrix & > Dpoint=boost::none) const |
| | Calculate range to a landmark. More...
|
| |
| double | range (const Pose3 &pose, boost::optional< Matrix & > Dpose=boost::none, boost::optional< Matrix & > Dpose2=boost::none) const |
| | Calculate range to another pose. More...
|
| |
| template<class CalibrationB > |
| double | range (const PinholeCamera< CalibrationB > &camera, boost::optional< Matrix & > Dpose=boost::none, boost::optional< Matrix & > Dother=boost::none) const |
| | Calculate range to another camera. More...
|
| |
| double | range (const CalibratedCamera &camera, boost::optional< Matrix & > Dpose=boost::none, boost::optional< Matrix & > Dother=boost::none) const |
| | Calculate range to another camera. More...
|
| |
| static Point2 | project_to_camera (const Point3 &P, boost::optional< Matrix & > Dpoint=boost::none) |
| | projects a 3-dimensional point in camera coordinates into the camera and returns a 2-dimensional point, no calibration applied More...
|
| |
|
|
|
| PinholeCamera () |
| | default constructor
|
| |
|
| PinholeCamera (const Pose3 &pose) |
| | constructor with pose
|
| |
|
| PinholeCamera (const Pose3 &pose, const Calibration &K) |
| | constructor with pose and calibration
|
| |
|
|
| PinholeCamera (const Vector &v) |
| |
|
| PinholeCamera (const Vector &v, const Vector &K) |
| |
|
|
bool | equals (const PinholeCamera &camera, double tol=1e-9) const |
| | assert equality up to a tolerance
|
| |
|
void | print (const std::string &s="PinholeCamera") const |
| | print
|
| |
|
|
virtual | ~PinholeCamera () |
| |
|
Pose3 & | pose () |
| | return pose
|
| |
|
const Pose3 & | pose () const |
| | return pose
|
| |
|
Calibration & | calibration () |
| | return calibration
|
| |
|
const Calibration & | calibration () const |
| | return calibration
|
| |
|
|
const PinholeCamera | compose (const PinholeCamera &c, boost::optional< Matrix & > H1=boost::none, boost::optional< Matrix & > H2=boost::none) const |
| | compose two cameras: TODO Frank says this might not make sense
|
| |
|
const PinholeCamera | between (const PinholeCamera &c, boost::optional< Matrix & > H1=boost::none, boost::optional< Matrix & > H2=boost::none) const |
| | between two cameras: TODO Frank says this might not make sense
|
| |
|
const PinholeCamera | inverse (boost::optional< Matrix & > H1=boost::none) const |
| | inverse camera: TODO Frank says this might not make sense
|
| |
|
const PinholeCamera | compose (const Pose3 &c) const |
| | compose two cameras: TODO Frank says this might not make sense
|
| |
| virtual Value * | clone_ () const |
| | Create a duplicate object returned as a pointer to the generic Value interface. More...
|
| |
|
virtual void | deallocate_ () const |
| | Destroy and deallocate this object, only if it was originally allocated using clone_().
|
| |
|
virtual boost::shared_ptr< Value > | clone () const |
| | Clone this value (normal clone on the heap, delete with 'delete' operator)
|
| |
|
virtual bool | equals_ (const Value &p, double tol=1e-9) const |
| | equals implementing generic Value interface
|
| |
|
virtual Value * | retract_ (const Vector &delta) const |
| | Generic Value interface version of retract.
|
| |
|
virtual Vector | localCoordinates_ (const Value &value2) const |
| | Generic Value interface version of localCoordinates.
|
| |
|
virtual Value & | operator= (const Value &rhs) |
| | Assignment operator.
|
| |
|
| operator const PinholeCamera< Calibration > & () const |
| | Conversion to the derived class.
|
| |
|
| operator PinholeCamera< Calibration > & () |
| | Conversion to the derived class.
|
| |
|
virtual | ~Value () |
| | Virutal destructor.
|
| |