|
|
virtual | ~CalibratedCamera () |
| | destructor
|
| |
|
const Pose3 & | pose () const |
| | return pose
|
| |
|
const CalibratedCamera | compose (const CalibratedCamera &c, boost::optional< Matrix & > H1=boost::none, boost::optional< Matrix & > H2=boost::none) const |
| | compose the two camera poses: TODO Frank says this might not make sense
|
| |
|
const CalibratedCamera | between (const CalibratedCamera &c, boost::optional< Matrix & > H1=boost::none, boost::optional< Matrix & > H2=boost::none) const |
| | between the two camera poses: TODO Frank says this might not make sense
|
| |
|
const CalibratedCamera | inverse (boost::optional< Matrix & > H1=boost::none) const |
| | invert the camera pose: TODO Frank says this might not make sense
|
| |
| static CalibratedCamera | Level (const Pose2 &pose2, double height) |
| | Create a level camera at the given 2D pose and height. More...
|
| |
|
| Point2 | project (const Point3 &point, boost::optional< Matrix & > Dpose=boost::none, boost::optional< Matrix & > Dpoint=boost::none) const |
| | This function receives the camera pose and the landmark location and returns the location the point is supposed to appear in the image. More...
|
| |
| double | range (const Point3 &point, boost::optional< Matrix & > H1=boost::none, boost::optional< Matrix & > H2=boost::none) const |
| | Calculate range to a landmark. More...
|
| |
| double | range (const Pose3 &pose, boost::optional< Matrix & > H1=boost::none, boost::optional< Matrix & > H2=boost::none) const |
| | Calculate range to another pose. More...
|
| |
| double | range (const CalibratedCamera &camera, boost::optional< Matrix & > H1=boost::none, boost::optional< Matrix & > H2=boost::none) const |
| | Calculate range to another camera. More...
|
| |
|
static Point2 | project_to_camera (const Point3 &cameraPoint, boost::optional< Matrix & > H1=boost::none) |
| | projects a 3-dimensional point in camera coordinates into the camera and returns a 2-dimensional point, no calibration applied With optional 2by3 derivative
|
| |
|
static Point3 | backproject_from_camera (const Point2 &p, const double scale) |
| | backproject a 2-dimensional point to a 3-dimension point
|
| |
Create a level camera at the given 2D pose and height.
- Parameters
-
| pose2 | specifies the location and viewing direction |
| height | specifies the height of the camera (along the positive Z-axis) (theta 0 = looking in direction of positive X axis) |
| Point2 gtsam::CalibratedCamera::project |
( |
const Point3 & |
point, |
|
|
boost::optional< Matrix & > |
Dpose = boost::none, |
|
|
boost::optional< Matrix & > |
Dpoint = boost::none |
|
) |
| const |
This function receives the camera pose and the landmark location and returns the location the point is supposed to appear in the image.
- Parameters
-
| point | a 3D point to be projected |
| Dpose | the optionally computed Jacobian with respect to pose |
| Dpoint | the optionally computed Jacobian with respect to the 3D point |
- Returns
- the intrinsic coordinates of the projected point
| double gtsam::CalibratedCamera::range |
( |
const Point3 & |
point, |
|
|
boost::optional< Matrix & > |
H1 = boost::none, |
|
|
boost::optional< Matrix & > |
H2 = boost::none |
|
) |
| const |
|
inline |
Calculate range to a landmark.
- Parameters
-
| point | 3D location of landmark |
| H1 | optionally computed Jacobian with respect to pose |
| H2 | optionally computed Jacobian with respect to the 3D point |
- Returns
- range (double)
| double gtsam::CalibratedCamera::range |
( |
const Pose3 & |
pose, |
|
|
boost::optional< Matrix & > |
H1 = boost::none, |
|
|
boost::optional< Matrix & > |
H2 = boost::none |
|
) |
| const |
|
inline |
Calculate range to another pose.
- Parameters
-
| pose | Other SO(3) pose |
| H1 | optionally computed Jacobian with respect to pose |
| H2 | optionally computed Jacobian with respect to the 3D point |
- Returns
- range (double)
| double gtsam::CalibratedCamera::range |
( |
const CalibratedCamera & |
camera, |
|
|
boost::optional< Matrix & > |
H1 = boost::none, |
|
|
boost::optional< Matrix & > |
H2 = boost::none |
|
) |
| const |
|
inline |
Calculate range to another camera.
- Parameters
-
| camera | Other camera |
| H1 | optionally computed Jacobian with respect to pose |
| H2 | optionally computed Jacobian with respect to the 3D point |
- Returns
- range (double)
The documentation for this class was generated from the following files: