#include <vgel_kl.h>
Kanade-Lucas-Tomasi (KLT) feature point tracker by Birchfield, which is included.
The Birchfield library was last seen at http://vision.stanford.edu/~birch/klt/klt1.1.5.tar.gz
The KLT algorithm is described in:
Shi, Jianbo and Tomasi, Carlo, "Good Features to Track", IEEE Conf. on Computer Vision and Pattern Recognition, 1994.
Definition at line 35 of file vgel_kl.h.
Public Member Functions | |
| vgel_kl (const vgel_kl_params ¶ms) | |
| Default constructor. Parameters set to defaults. | |
| virtual | ~vgel_kl () |
| Destructor. | |
| virtual void | reset_prev_frame () |
| virtual void | match_sequence (vil1_image &, vil1_image &, vgel_multi_view_data_vertex_sptr, bool) |
| get matching points from 2 images. | |
| virtual void | match_sequence (vil_image_resource_sptr &, vil_image_resource_sptr &, vgel_multi_view_data_vertex_sptr, bool) |
| get matching points from 2 images. | |
| virtual void | match_sequence (vil_image_view< vxl_byte > *, vil_image_view< vxl_byte > *, vgel_multi_view_data_vertex_sptr, bool) |
| get matching points from 2 image views. | |
| virtual void | match_sequence (vcl_vector< vil1_image > &, vgel_multi_view_data_vertex_sptr) |
| get matching points from a sequence of images. | |
| virtual void | match_sequence (vcl_vector< vil_image_resource_sptr > &, vgel_multi_view_data_vertex_sptr) |
| get matching points from a sequence of images. | |
| virtual void | match_sequence (vidl_vil1_movie_sptr, vgel_multi_view_data_vertex_sptr) |
| get matching points from a sequence of video frames. | |
| virtual void | match_sequence (vidl_movie_sptr, vgel_multi_view_data_vertex_sptr) |
| get matching points from a sequence of video frames. | |
| virtual vcl_vector< vtol_vertex_2d_sptr > * | extract_points (vil1_image &) |
| extract feature points from a single image. | |
| virtual vcl_vector< vtol_vertex_2d_sptr > * | extract_points (vil_image_resource_sptr &) |
| extract feature points from a single image. | |
Protected Attributes | |
| KLT_TrackingContext | seq_tc_ |
| KLT_PixelType * | prev_frame_ |
| KLT_FeatureList | fl_ |
Private Member Functions | |
| virtual void | match_sequence_base (KLT_PixelType *, KLT_PixelType *, int, int, vgel_multi_view_data_vertex_sptr, bool) |
| virtual void | match_sequence_base (vcl_vector< KLT_PixelType * > &, int, int, vgel_multi_view_data_vertex_sptr) |
| virtual vcl_vector< vtol_vertex_2d_sptr > * | extract_points_base (KLT_PixelType *, int, int) |
| virtual KLT_PixelType * | convert_to_gs_image (vil1_image &) |
| Convert a vil1_image to an array of grey scale. | |
| virtual KLT_PixelType * | convert_to_gs_image (vil_image_resource_sptr &) |
| Convert a vil_image_resource_sptr to an array of grey scale. | |
| virtual KLT_PixelType * | convert_to_gs_image (vil_image_view< vxl_byte > *) |
| Convert a vil_image_view<T> to an array of grey scale. | |
| virtual void | set_tracking_context (KLT_TrackingContext tc) |
| virtual void | matches_from_feature_table (KLT_FeatureTable ft, vgel_multi_view_data_vertex_sptr matches) |
Private Attributes | |
| vgel_kl_params | params_ |
| vgel_kl::vgel_kl | ( | const vgel_kl_params & | params | ) | [explicit] |
| vgel_kl::~vgel_kl | ( | ) | [virtual] |
| void vgel_kl::reset_prev_frame | ( | ) | [virtual] |
Definition at line 34 of file vgel_kl.cxx.
| void vgel_kl::match_sequence | ( | vil1_image & | , | |
| vil1_image & | , | |||
| vgel_multi_view_data_vertex_sptr | , | |||
| bool | ||||
| ) | [virtual] |
get matching points from 2 images.
Definition at line 53 of file vgel_kl.cxx.
| void vgel_kl::match_sequence | ( | vil_image_resource_sptr & | , | |
| vil_image_resource_sptr & | , | |||
| vgel_multi_view_data_vertex_sptr | , | |||
| bool | ||||
| ) | [virtual] |
| void vgel_kl::match_sequence | ( | vil_image_view< vxl_byte > * | , | |
| vil_image_view< vxl_byte > * | , | |||
| vgel_multi_view_data_vertex_sptr | , | |||
| bool | ||||
| ) | [virtual] |
| void vgel_kl::match_sequence | ( | vcl_vector< vil1_image > & | , | |
| vgel_multi_view_data_vertex_sptr | ||||
| ) | [virtual] |
get matching points from a sequence of images.
Definition at line 217 of file vgel_kl.cxx.
| void vgel_kl::match_sequence | ( | vcl_vector< vil_image_resource_sptr > & | , | |
| vgel_multi_view_data_vertex_sptr | ||||
| ) | [virtual] |
| void vgel_kl::match_sequence | ( | vidl_vil1_movie_sptr | , | |
| vgel_multi_view_data_vertex_sptr | ||||
| ) | [virtual] |
get matching points from a sequence of video frames.
Definition at line 368 of file vgel_kl.cxx.
| void vgel_kl::match_sequence | ( | vidl_movie_sptr | , | |
| vgel_multi_view_data_vertex_sptr | ||||
| ) | [virtual] |
| vcl_vector< vtol_vertex_2d_sptr > * vgel_kl::extract_points | ( | vil1_image & | ) | [virtual] |
extract feature points from a single image.
Definition at line 398 of file vgel_kl.cxx.
| vcl_vector< vtol_vertex_2d_sptr > * vgel_kl::extract_points | ( | vil_image_resource_sptr & | ) | [virtual] |
| void vgel_kl::match_sequence_base | ( | KLT_PixelType * | , | |
| KLT_PixelType * | , | |||
| int | , | |||
| int | , | |||
| vgel_multi_view_data_vertex_sptr | , | |||
| bool | ||||
| ) | [private, virtual] |
Definition at line 112 of file vgel_kl.cxx.
| void vgel_kl::match_sequence_base | ( | vcl_vector< KLT_PixelType * > & | , | |
| int | , | |||
| int | , | |||
| vgel_multi_view_data_vertex_sptr | ||||
| ) | [private, virtual] |
Definition at line 249 of file vgel_kl.cxx.
| vcl_vector< vtol_vertex_2d_sptr > * vgel_kl::extract_points_base | ( | KLT_PixelType * | , | |
| int | , | |||
| int | ||||
| ) | [private, virtual] |
Definition at line 416 of file vgel_kl.cxx.
| KLT_PixelType * vgel_kl::convert_to_gs_image | ( | vil1_image & | ) | [private, virtual] |
Convert a vil1_image to an array of grey scale.
Definition at line 463 of file vgel_kl.cxx.
| KLT_PixelType * vgel_kl::convert_to_gs_image | ( | vil_image_resource_sptr & | ) | [private, virtual] |
Convert a vil_image_resource_sptr to an array of grey scale.
Definition at line 552 of file vgel_kl.cxx.
| KLT_PixelType * vgel_kl::convert_to_gs_image | ( | vil_image_view< vxl_byte > * | ) | [private, virtual] |
| void vgel_kl::set_tracking_context | ( | KLT_TrackingContext | tc | ) | [private, virtual] |
Definition at line 609 of file vgel_kl.cxx.
| void vgel_kl::matches_from_feature_table | ( | KLT_FeatureTable | ft, | |
| vgel_multi_view_data_vertex_sptr | matches | |||
| ) | [private, virtual] |
Definition at line 311 of file vgel_kl.cxx.
KLT_TrackingContext vgel_kl::seq_tc_ [protected] |
KLT_PixelType* vgel_kl::prev_frame_ [protected] |
KLT_FeatureList vgel_kl::fl_ [protected] |
vgel_kl_params vgel_kl::params_ [private] |
1.5.1