Jafar
|
Class CameraHandler. More...
Class CameraHandler.
As it is impossible to create a generic Camera class I created this one. It provides only functions I need in bundler and premodeler modules.
Definition at line 20 of file cameraHandler.hpp.
#include <cameraHandler.hpp>
Public Member Functions | |
AbstractCameraHandler () | |
constructor | |
virtual | ~AbstractCameraHandler () |
virtual destructor dummy but mandatory | |
virtual void | setParameters (const jblas::vec ¶ms)=0 |
sets camera parameters | |
virtual void | applyScale (double scale)=0 |
applies a scale factor to the image | |
virtual bool | project (const jblas::vec3 &v, jblas::vec2 &pix)=0 |
projects a point into a pixel | |
virtual void | projectJac (const jblas::vec3 &v, jblas::mat &J)=0 |
returns jacaobian of point projection | |
virtual void | projectJac (const jblas::vec3 &v, jblas::vec2 &pix, jblas::mat &J)=0 |
returns projection and its jacaobian of a point | |
virtual void | imageToCameraFrame (const jblas::vec2 &pixel, jblas::vec3 &position)=0 |
returns the pixel position in camera frame | |
virtual void | imageToCameraFrameDirection (const jblas::vec2 &pixel, jblas::vec3 &direction)=0 |
returns jacobian of pixel direction in camera frame | |
virtual void | imageToCameraFrameDirectionJac (const jblas::vec2 &pixel, jblas::mat &J)=0 |
returns pixel direction's jacobian in camera frame | |
virtual void | imageToCameraFrameDirectionJac (const jblas::vec2 &pixel, jblas::vec3 &direction, jblas::mat &J)=0 |
returns pixel direction and its jacobian in camera frame | |
virtual void | load (const std::string &configFile)=0 |
loads key value file | |
virtual void | intrinsics (jblas::mat33 &intrinsic)=0 |
returns pinhole intrinsics |
Generated on Wed Oct 15 2014 00:37:33 for Jafar by doxygen 1.7.6.1 |