#include "checkerboard_pose_estimation/cvcalibinit_lowres.h"
#include <stdio.h>
#include <highgui.h>
#include <outlet_pose_estimation/detail/features.h>
Go to the source code of this file.
Classes | |
struct | chessboard_feature_t |
Functions | |
float | calc_corner_weight (const cv::Point2f &point, const cv::Point2f &origin, const cv::Point2f &dir1, const cv::Point2f &dir2, float weight_coeff) |
int | CountBorderPoints (const vector< feature_t > &features, cv::Point2f origin, cv::Point2f dir) |
int | CountPoints (const vector< feature_t > &features, cv::Point2f point, cv::Point2f dir, int dir_sign=0, int *border_point_idx=0) |
int | cvFindChessboardCornersLowres (IplImage *img, CvSize size, CvPoint2D32f *corners, int *corner_count) |
void | FilterOutliers (vector< chessboard_feature_t > &corners, cv::Point2f dir1, cv::Point2f dir2, float min_dist) |
int | find (const vector< int > &indices, int idx) |
template<class T > | |
int | Find1NN (const vector< T > &features, cv::Point2f point, int exclude_point=0) |
int | Find1NNEx (const vector< feature_t > &features, cv::Point2f point, const vector< int > &exclude_points) |
int | Find2NNPerp (const vector< feature_t > &features, cv::Point2f point, cv::Point2f dir) |
bool | helper_corner_less (chessboard_feature_t f1, chessboard_feature_t f2) |
int | IsBorderPoint (const vector< feature_t > &features, cv::Point2f point, cv::Point2f dir_border, cv::Point2f dir_second) |
void | SelectNeighborFeatures (const vector< feature_t > &features, vector< feature_t > &neighbors, cv::Point2f point, float max_dist) |
void | ShowFeatures (IplImage *img, const vector< feature_t > &features) |
float | sortSpannedFeatures (vector< chessboard_feature_t >::iterator it_begin, vector< chessboard_feature_t >::iterator it_end, cv::Point2f origin, cv::Point2f dir) |
void | updateSpanVector (vector< chessboard_feature_t >::const_iterator it_begin, vector< chessboard_feature_t >::const_iterator it_end, vector< chessboard_feature_t >::const_iterator &it_origin, cv::Point2f &dir) |
float calc_corner_weight | ( | const cv::Point2f & | point, |
const cv::Point2f & | origin, | ||
const cv::Point2f & | dir1, | ||
const cv::Point2f & | dir2, | ||
float | weight_coeff | ||
) |
Definition at line 177 of file cvcalibinit_lowres.cpp.
int CountBorderPoints | ( | const vector< feature_t > & | features, |
cv::Point2f | origin, | ||
cv::Point2f | dir | ||
) |
Definition at line 289 of file cvcalibinit_lowres.cpp.
int CountPoints | ( | const vector< feature_t > & | features, |
cv::Point2f | point, | ||
cv::Point2f | dir, | ||
int | dir_sign = 0 , |
||
int * | border_point_idx = 0 |
||
) |
Definition at line 120 of file cvcalibinit_lowres.cpp.
int cvFindChessboardCornersLowres | ( | IplImage * | img, |
CvSize | size, | ||
CvPoint2D32f * | corners, | ||
int * | corner_count | ||
) |
Definition at line 302 of file cvcalibinit_lowres.cpp.
void FilterOutliers | ( | vector< chessboard_feature_t > & | corners, |
cv::Point2f | dir1, | ||
cv::Point2f | dir2, | ||
float | min_dist | ||
) |
Definition at line 211 of file cvcalibinit_lowres.cpp.
Definition at line 59 of file cvcalibinit_lowres.cpp.
int Find1NN | ( | const vector< T > & | features, |
cv::Point2f | point, | ||
int | exclude_point = 0 |
||
) |
Definition at line 39 of file cvcalibinit_lowres.cpp.
int Find1NNEx | ( | const vector< feature_t > & | features, |
cv::Point2f | point, | ||
const vector< int > & | exclude_points | ||
) |
Definition at line 72 of file cvcalibinit_lowres.cpp.
int Find2NNPerp | ( | const vector< feature_t > & | features, |
cv::Point2f | point, | ||
cv::Point2f | dir | ||
) |
Definition at line 94 of file cvcalibinit_lowres.cpp.
Definition at line 172 of file cvcalibinit_lowres.cpp.
int IsBorderPoint | ( | const vector< feature_t > & | features, |
cv::Point2f | point, | ||
cv::Point2f | dir_border, | ||
cv::Point2f | dir_second | ||
) |
Definition at line 152 of file cvcalibinit_lowres.cpp.
void SelectNeighborFeatures | ( | const vector< feature_t > & | features, |
vector< feature_t > & | neighbors, | ||
cv::Point2f | point, | ||
float | max_dist | ||
) |
Definition at line 26 of file cvcalibinit_lowres.cpp.
void ShowFeatures | ( | IplImage * | img, |
const vector< feature_t > & | features | ||
) |
Definition at line 193 of file cvcalibinit_lowres.cpp.
float sortSpannedFeatures | ( | vector< chessboard_feature_t >::iterator | it_begin, |
vector< chessboard_feature_t >::iterator | it_end, | ||
cv::Point2f | origin, | ||
cv::Point2f | dir | ||
) |
Definition at line 271 of file cvcalibinit_lowres.cpp.
void updateSpanVector | ( | vector< chessboard_feature_t >::const_iterator | it_begin, |
vector< chessboard_feature_t >::const_iterator | it_end, | ||
vector< chessboard_feature_t >::const_iterator & | it_origin, | ||
cv::Point2f & | dir | ||
) |
Definition at line 244 of file cvcalibinit_lowres.cpp.