Public Types | Public Member Functions | Protected Attributes
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 ()
 Detector (int width, int height, bool do_subpixel=true, Side origin_side=LEFT)
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 8 of file detector.h.


Member Enumeration Documentation

Enumerator:
LEFT 
RIGHT 

Definition at line 11 of file detector.h.


Constructor & Destructor Documentation

Definition at line 42 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 47 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.

Definition at line 66 of file detector.h.

Definition at line 63 of file detector.h.

Definition at line 61 of file detector.h.

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

Definition at line 54 of file detector.h.

Definition at line 67 of file detector.h.

Definition at line 64 of file detector.h.

Definition at line 60 of file detector.h.


Member Data Documentation

Definition at line 37 of file detector.h.

Definition at line 36 of file detector.h.

Definition at line 38 of file detector.h.

Definition at line 35 of file detector.h.


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


checkerboard_pose_estimation
Author(s): Patrick Mihelich
autogenerated on Thu Nov 28 2013 11:46:37