Interface for camera models that have one-to-one map between imaged rays and imaging surface. More...
#include <camera_model.h>
Public Member Functions | |
RayCoordT | backProject (const ImageCoordT &im_coord) const |
bool | canBackProject (const ImageCoordT &im_coord) const |
is this a valid coordinate in the imaging surface? (i.e. does it sample some ray?) | |
bool | canProject (const RayCoordT &ray) const |
is ray sampled by the camera? | |
ImageCoordT | project (const RayCoordT &ray) const |
Interface for camera models that have one-to-one map between imaged rays and imaging surface.
Definition at line 54 of file camera_model.h.
RayCoordT vslam::CameraModel< ImageCoordT, RayCoordT >::backProject | ( | const ImageCoordT & | im_coord | ) | const [inline] |
Reimplemented in vslam::SphericalCM.
Definition at line 66 of file camera_model.h.
bool vslam::CameraModel< ImageCoordT, RayCoordT >::canBackProject | ( | const ImageCoordT & | im_coord | ) | const [inline] |
is this a valid coordinate in the imaging surface? (i.e. does it sample some ray?)
Reimplemented in vslam::SphericalCM.
Definition at line 62 of file camera_model.h.
bool vslam::CameraModel< ImageCoordT, RayCoordT >::canProject | ( | const RayCoordT & | ray | ) | const [inline] |
is ray sampled by the camera?
Reimplemented in vslam::SphericalCM.
Definition at line 57 of file camera_model.h.
ImageCoordT vslam::CameraModel< ImageCoordT, RayCoordT >::project | ( | const RayCoordT & | ray | ) | const [inline] |
Reimplemented in vslam::CylindricalCCMCartRays, and vslam::SphericalCM.
Definition at line 59 of file camera_model.h.