#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 (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_ |
Definition at line 7 of file detector.h.
Definition at line 7 of file detector.h.
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.
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 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.
bool checkerboard_pose_estimation::Detector::do_subpixel_refinement_ [protected] |
Definition at line 33 of file detector.h.
int checkerboard_pose_estimation::Detector::height_ [protected] |
Definition at line 32 of file detector.h.
Definition at line 34 of file detector.h.
int checkerboard_pose_estimation::Detector::width_ [protected] |
Definition at line 31 of file detector.h.