GCOP  1.0
Public Member Functions | Public Attributes | Protected Attributes
gcop::Camera Class Reference

#include <camera.h>

List of all members.

Public Member Functions

 Camera (double bl=1.75, double irows=480, double imcols=640, const double *K=0, const double *D=0)
virtual ~Camera ()
 distance betn two leds; the number of rows in the image the number of columns in the image the camera matrix in row major format(9elements) the distortion coefficients (plumbob model 5 polynomial coefficients)
bool Pose (Vector6d &q, const cv::Mat &raw, cv::Mat &cont)
bool Pose (Vector6d &q, const cv::Mat &raw)

Public Attributes

float tolerance
int kernel_size

Protected Attributes

cv::Mat filt
cv::Mat rvec
cv::Mat tvec
double bl
cv::Mat camMatrix
cv::Mat dccoeffs
cv::Point2f iprs [np]
std::ofstream pointfile
bool find_contours

Detailed Description

Camera Driver

Author: Marin Kobilarov -- Copyright (C) 2012


Constructor & Destructor Documentation

Camera::Camera ( double  bl = 1.75,
double  irows = 480,
double  imcols = 640,
const double *  K = 0,
const double *  D = 0 
)

References bl, camMatrix, dccoeffs, filt, pointfile, rvec, and tvec.

Camera::~Camera ( ) [virtual]

distance betn two leds; the number of rows in the image the number of columns in the image the camera matrix in row major format(9elements) the distortion coefficients (plumbob model 5 polynomial coefficients)

References pointfile.


Member Function Documentation

bool Camera::Pose ( Vector6d q,
const cv::Mat &  raw,
cv::Mat &  cont 
)
bool Camera::Pose ( Vector6d q,
const cv::Mat &  raw 
)

Member Data Documentation

double gcop::Camera::bl [protected]

Referenced by Camera(), and Pose().

cv::Mat gcop::Camera::camMatrix [protected]

Referenced by Camera(), and Pose().

cv::Mat gcop::Camera::dccoeffs [protected]

Referenced by Camera(), and Pose().

cv::Mat gcop::Camera::filt [protected]

Referenced by Camera(), and Pose().

bool gcop::Camera::find_contours [protected]
cv::Point2f gcop::Camera::iprs[np] [protected]

Referenced by Pose().

Referenced by Pose().

std::ofstream gcop::Camera::pointfile [protected]

Referenced by Camera(), Pose(), and ~Camera().

cv::Mat gcop::Camera::rvec [protected]

Referenced by Camera(), and Pose().

Referenced by Pose().

cv::Mat gcop::Camera::tvec [protected]

Referenced by Camera(), and Pose().


The documentation for this class was generated from the following files: