checkerboard_pose_estimation::Detector Class Reference

#include <detector.h>

List of all members.

Public Types

enum  Side { LEFT, RIGHT }

Public Member Functions

virtual bool detect (const cv::Mat &image, std::vector< cv::Point2f > &points) const
 Detector (int width, int height, bool do_subpixel=true, Side origin_side=LEFT)
 Detector ()
virtual void getDisplayImage (const cv::Mat &source, const std::vector< cv::Point2f > &points, bool success, cv::Mat &display) const
Side getOriginSide () const
bool getSubpixel () const
int height () const
void setDimensions (int width, int height)
void setOriginSide (Side side)
void setSubpixel (bool is_on)
int width () const

Protected Attributes

bool do_subpixel_refinement_
int height_
Side origin_side_
int width_

Detailed Description

Definition at line 7 of file detector.h.


Member Enumeration Documentation

Enumerator:
LEFT 
RIGHT 

Definition at line 7 of file detector.h.


Constructor & Destructor Documentation

checkerboard_pose_estimation::Detector::Detector (  )  [inline]

Definition at line 41 of file detector.h.

checkerboard_pose_estimation::Detector::Detector ( int  width,
int  height,
bool  do_subpixel = true,
Side  origin_side = LEFT 
) [inline]

Definition at line 46 of file detector.h.


Member Function Documentation

bool checkerboard_pose_estimation::Detector::detect ( const cv::Mat &  image,
std::vector< cv::Point2f > &  points 
) const [virtual]

Todo:
Why do we need gamma correction here?
Todo:
Remove unique ordering code when OpenCV is updated.

Definition at line 9 of file detector.cpp.

void checkerboard_pose_estimation::Detector::getDisplayImage ( const cv::Mat &  source,
const std::vector< cv::Point2f > &  points,
bool  success,
cv::Mat &  display 
) const [virtual]

Todo:
Currently assuming source is grayscale

Definition at line 80 of file detector.cpp.

Detector::Side checkerboard_pose_estimation::Detector::getOriginSide (  )  const [inline]

Definition at line 65 of file detector.h.

bool checkerboard_pose_estimation::Detector::getSubpixel (  )  const [inline]

Definition at line 62 of file detector.h.

int checkerboard_pose_estimation::Detector::height (  )  const [inline]

Definition at line 60 of file detector.h.

void checkerboard_pose_estimation::Detector::setDimensions ( int  width,
int  height 
) [inline]

Definition at line 53 of file detector.h.

void checkerboard_pose_estimation::Detector::setOriginSide ( Side  side  )  [inline]

Definition at line 66 of file detector.h.

void checkerboard_pose_estimation::Detector::setSubpixel ( bool  is_on  )  [inline]

Definition at line 63 of file detector.h.

int checkerboard_pose_estimation::Detector::width (  )  const [inline]

Definition at line 59 of file detector.h.


Member Data Documentation

Definition at line 33 of file detector.h.

Definition at line 32 of file detector.h.

Definition at line 34 of file detector.h.

Definition at line 31 of file detector.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator


checkerboard_pose_estimation
Author(s): Patrick Mihelich
autogenerated on Fri Jan 11 10:01:04 2013