#include <iostream>
#include <algorithm>
#include "vobj_tracker.h"
#include "homography4.h"
#include "timer.h"
Go to the source code of this file.
Functions | |
int | get_correspondences (vobj_frame *frame, visual_object *obj, visual_object::correspondence_vector &corresp) |
static point2d | transform (CvMat *H, point2d &a) |
static bool | check_epipolar_constraint (const point2d &a, const CvMat *M, const point2d &b, float threshold=3.0f) |
static point2d | back_project (const point2d &p, const float H[3][3]) |
static point2d | homo_transform (const float h[3][3], const point2d &p) |
Variables | |
static vobj_keypoint::vobj_keypoint_factory_t | default_vobj_keypoint_factory |
static vobj_frame::vobj_frame_factory_t | default_vobj_frame_factory |
Definition at line 507 of file vobj_tracker.cpp.
References point2d::u, and point2d::v.
Referenced by vobj_tracker::incremental_learning().
static bool check_epipolar_constraint | ( | const point2d & | a, | |
const CvMat * | M, | |||
const point2d & | b, | |||
float | threshold = 3.0f | |||
) | [static] |
Definition at line 261 of file vobj_tracker.cpp.
References point2d::u, and point2d::v.
Referenced by vobj_tracker::verify().
int get_correspondences | ( | vobj_frame * | frame, | |
visual_object * | obj, | |||
visual_object::correspondence_vector & | corresp | |||
) |
Definition at line 159 of file vobj_tracker.cpp.
References incremental_query::begin(), bucket2d< T >::begin(), pyr_keypoint::cid, incremental_query::end(), visual_object::find(), tkeypoint::frame, id_cluster::histo, pyr_keypoint::id, id_cluster_collection::id2cluster, pyr_track::id_histo, id_cluster_collection::idf(), vobj_keypoint::obj_kpt, tframe::points, vobj_keypoint::prev_match_vobj(), bucket2d< T >::size(), incremental_query::sort_results_min_ratio(), tkeypoint::track, tkeypoint::track_is_longer(), visual_object::vdb, and vobj_keypoint::vobj.
Referenced by vobj_tracker::verify().
Definition at line 530 of file vobj_tracker.cpp.
References point2d::u, and point2d::v.
Referenced by vobj_tracker::incremental_learning().
Definition at line 252 of file vobj_tracker.cpp.
References point2d::u, and point2d::v.
Referenced by vobj_tracker::verify().
Definition at line 31 of file vobj_tracker.cpp.
Definition at line 30 of file vobj_tracker.cpp.