Public Member Functions | |
Iterator (const vector< Point3f > *tobject_points, const vector< Point2f > *timage_points, const Mat *tcamera_matrix, const Mat *tdist_coeffs, Mat *rvec, Mat *tvec, float tmax_dist, int tmin_inlier_num, vector< int > *tinliers, bool tuse_extrinsic_guess, RNG *trng) | |
void | operator() (const blocked_range< size_t > &r) const |
Private Attributes | |
const Mat * | camera_matrix |
const Mat * | dist_coeffs |
const vector< Point2f > * | image_points |
vector< int > * | inliers |
const float | max_dist |
const int | min_inlier_num |
const vector< Point3f > * | object_points |
Mat * | resultRvec |
Mat * | resultTvec |
RNG * | rng |
Mat | rvecInit |
Mat | tvecInit |
bool | use_extrinsic_guess |
Static Private Attributes | |
static mutex | ResultsMutex |
Definition at line 117 of file pnp_ransac.cpp.
Iterator::Iterator | ( | const vector< Point3f > * | tobject_points, |
const vector< Point2f > * | timage_points, | ||
const Mat * | tcamera_matrix, | ||
const Mat * | tdist_coeffs, | ||
Mat * | rvec, | ||
Mat * | tvec, | ||
float | tmax_dist, | ||
int | tmin_inlier_num, | ||
vector< int > * | tinliers, | ||
bool | tuse_extrinsic_guess, | ||
RNG * | trng | ||
) | [inline] |
Definition at line 140 of file pnp_ransac.cpp.
void Iterator::operator() | ( | const blocked_range< size_t > & | r | ) | const [inline] |
Definition at line 132 of file pnp_ransac.cpp.
const Mat* Iterator::camera_matrix [private] |
Definition at line 121 of file pnp_ransac.cpp.
const Mat* Iterator::dist_coeffs [private] |
Definition at line 122 of file pnp_ransac.cpp.
const vector<Point2f>* Iterator::image_points [private] |
Definition at line 120 of file pnp_ransac.cpp.
vector<int>* Iterator::inliers [private] |
Definition at line 127 of file pnp_ransac.cpp.
const float Iterator::max_dist [private] |
Definition at line 125 of file pnp_ransac.cpp.
const int Iterator::min_inlier_num [private] |
Definition at line 126 of file pnp_ransac.cpp.
const vector<Point3f>* Iterator::object_points [private] |
Definition at line 119 of file pnp_ransac.cpp.
Mat* Iterator::resultRvec [private] |
Definition at line 123 of file pnp_ransac.cpp.
mutex Iterator::ResultsMutex [static, private] |
Definition at line 130 of file pnp_ransac.cpp.
Mat* Iterator::resultTvec [private] |
Definition at line 124 of file pnp_ransac.cpp.
RNG* Iterator::rng [private] |
Definition at line 129 of file pnp_ransac.cpp.
Mat Iterator::rvecInit [private] |
Definition at line 123 of file pnp_ransac.cpp.
Mat Iterator::tvecInit [private] |
Definition at line 124 of file pnp_ransac.cpp.
bool Iterator::use_extrinsic_guess [private] |
Definition at line 128 of file pnp_ransac.cpp.