#include <kpttracker.h>
Classes | |
struct | pyr_keypoint_factory_t |
Public Member Functions | |
pyr_keypoint () | |
pyr_keypoint (const pyr_keypoint &a) | |
void | set (tframe *f, keypoint &pt, int patch_size) |
void | set (tframe *f, float u, float v, int scale, int patch_size) |
void | prepare_patch (int size) |
virtual | ~pyr_keypoint () |
virtual void | dispose () |
overload this function to handle forgotten keypoints. Allows memory recycling. | |
const pyr_keypoint & | operator= (const pyr_keypoint &a) |
Public Attributes | |
int | scale |
point2d | level |
CvMat | patch |
float | score |
feature strength (related to local contrast) | |
unsigned char * | data |
float | mean |
float | stdev |
int | id |
unsigned | cid |
float | cscore |
patch_tagger::descriptor | descriptor |
kmean_tree::node_t * | node |
Definition at line 91 of file kpttracker.h.
pyr_keypoint::pyr_keypoint | ( | ) | [inline] |
Definition at line 118 of file kpttracker.h.
Referenced by pyr_keypoint::pyr_keypoint_factory_t::create().
pyr_keypoint::pyr_keypoint | ( | const pyr_keypoint & | a | ) |
pyr_keypoint::~pyr_keypoint | ( | ) | [virtual] |
void pyr_keypoint::dispose | ( | ) | [virtual] |
overload this function to handle forgotten keypoints. Allows memory recycling.
Reimplemented from tkeypoint.
Reimplemented in vobj_keypoint.
Definition at line 54 of file kpttracker.cpp.
References tkeypoint::frame, pyr_frame::tracker, and tkeypoint::unlink().
Referenced by kpt_tracker::detect_keypoints(), and kpt_tracker::track_ncclk().
const pyr_keypoint & pyr_keypoint::operator= | ( | const pyr_keypoint & | a | ) |
void pyr_keypoint::prepare_patch | ( | int | size | ) |
Definition at line 620 of file kpttracker.cpp.
References patch_tagger::descriptor::_rotated, cid, patch_tagger::cmp_descriptor(), data, descriptor, tkeypoint::frame, PyrImage::images, level, mean, patch_tagger::descriptor::orientation, patch, patch_tagger::patch_size, TaskTimer::popTask(), TaskTimer::pushTask(), pyr_frame::pyr, patch_tagger::descriptor::rotated, scale, patch_tagger::singleton(), stdev, patch_tagger::descriptor::total, point2d::u, and point2d::v.
Referenced by set().
void pyr_keypoint::set | ( | tframe * | f, | |
float | u, | |||
float | v, | |||
int | scale, | |||
int | patch_size | |||
) |
Definition at line 824 of file kpttracker.cpp.
References data, level, min(), node, prepare_patch(), score, set(), point2d::u, and point2d::v.
Definition at line 812 of file kpttracker.cpp.
References data, keypoint::fr_u(), keypoint::fr_v(), level, node, prepare_patch(), keypoint::scale, scale, keypoint::score, score, keypoint::u, point2d::u, keypoint::v, and point2d::v.
Referenced by kpt_tracker::detect_keypoints(), set(), and kpt_tracker::track_ncclk().
unsigned pyr_keypoint::cid |
Definition at line 101 of file kpttracker.h.
Referenced by visual_object::add(), visual_object::add_keypoint(), kpt_tracker::detect_keypoints(), draw_keypoint(), get_correspondences(), visual_object::get_correspondences_std(), vobj_tracker::incremental_learning(), init_query_with_frame(), db_keypoint::operator<(), operator=(), pyr_track::point_added(), prepare_patch(), query_frame(), VSView::segment_scene(), VSView::timerEvent(), kpt_tracker::track_ncclk(), and update_query_with_frame().
float pyr_keypoint::cscore |
unsigned char* pyr_keypoint::data |
Definition at line 98 of file kpttracker.h.
Referenced by operator=(), prepare_patch(), pyr_keypoint(), set(), and ~pyr_keypoint().
Definition at line 115 of file kpttracker.h.
Referenced by visual_object::add_keypoint(), visual_database::connect_to_db(), kpt_tracker::detect_keypoints(), draw_keypoint(), operator=(), prepare_patch(), kpt_tracker::track_ncclk(), kpt_tracker::traverse_tree(), and write_descriptor().
int pyr_keypoint::id |
Definition at line 100 of file kpttracker.h.
Referenced by visual_object::add_keypoint(), cmp_ncc(), kpt_tracker::detect_keypoints(), get_correspondences(), visual_object::get_correspondences_std(), init_query_with_frame(), operator=(), pyr_track::point_added(), pyr_track::point_removed(), VSView::timerEvent(), kpt_tracker::track_ncclk(), kpt_tracker::traverse_tree(), and update_query_with_frame().
float pyr_keypoint::mean |
Definition at line 99 of file kpttracker.h.
Referenced by cmp_ncc(), operator=(), and prepare_patch().
Definition at line 116 of file kpttracker.h.
Referenced by operator=(), pyr_keypoint(), set(), and kpt_tracker::traverse_tree().
CvMat pyr_keypoint::patch |
Definition at line 94 of file kpttracker.h.
Referenced by cmp_ncc(), operator=(), prepare_patch(), and pyr_keypoint().
Definition at line 92 of file kpttracker.h.
Referenced by visual_object::add_keypoint(), visual_database::connect_to_db(), draw_keypoint(), operator=(), prepare_patch(), set(), and kpt_tracker::track_ncclk().
float pyr_keypoint::score |
feature strength (related to local contrast)
Definition at line 97 of file kpttracker.h.
Referenced by set(), and kpt_tracker::track_ncclk().
float pyr_keypoint::stdev |
Definition at line 99 of file kpttracker.h.
Referenced by cmp_ncc(), kpt_tracker::detect_keypoints(), operator=(), and prepare_patch().