#include <detector.h>
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_ |
Definition at line 8 of file detector.h.
Definition at line 11 of file detector.h.
checkerboard_pose_estimation::Detector::Detector | ( | ) | [inline] |
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.
bool checkerboard_pose_estimation::Detector::detect | ( | const cv::Mat & | image, |
std::vector< cv::Point2f > & | points | ||
) | const [virtual] |
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] |
Definition at line 80 of file detector.cpp.
Detector::Side checkerboard_pose_estimation::Detector::getOriginSide | ( | ) | const [inline] |
Definition at line 66 of file detector.h.
bool checkerboard_pose_estimation::Detector::getSubpixel | ( | ) | const [inline] |
Definition at line 63 of file detector.h.
int checkerboard_pose_estimation::Detector::height | ( | ) | const [inline] |
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.
void checkerboard_pose_estimation::Detector::setOriginSide | ( | Side | side | ) | [inline] |
Definition at line 67 of file detector.h.
void checkerboard_pose_estimation::Detector::setSubpixel | ( | bool | is_on | ) | [inline] |
Definition at line 64 of file detector.h.
int checkerboard_pose_estimation::Detector::width | ( | ) | const [inline] |
Definition at line 60 of file detector.h.
Definition at line 37 of file detector.h.
int checkerboard_pose_estimation::Detector::height_ [protected] |
Definition at line 36 of file detector.h.
Definition at line 38 of file detector.h.
int checkerboard_pose_estimation::Detector::width_ [protected] |
Definition at line 35 of file detector.h.