Public Types | Public Member Functions | Public Attributes | Protected Attributes | Private Attributes
strk_info_tracker_process Class Reference

#include <strk_info_tracker_process.h>

Inheritance diagram for strk_info_tracker_process:
Inheritance graph
[legend]

List of all members.

Public Types

enum  process_data_type

Public Member Functions

 strk_info_tracker_process (strk_info_tracker_params &tp)
 ~strk_info_tracker_process ()
virtual process_data_type get_output_type () const
virtual bool execute ()
 track to next frame.
virtual bool finish ()
bool set_track_output_file (vcl_string const &file_name)
bool set_hist_output_file (vcl_string const &file_name)
vcl_vector< unsigned char > color_index () const
 special methods.
void clear_input ()
void clear_output ()
void set_n_frames (int n_frames)
void set_frame_index (int index)
void add_input_image (vil1_image const &im)
void add_input_spatial_object (vsol_spatial_object_2d_sptr const &so)
void add_input_spatial_objects (vcl_vector< vsol_spatial_object_2d_sptr > const &spat_objs)
void add_input_topology_object (vtol_topology_object_sptr const &to)
void add_input_topology (vcl_vector< vtol_topology_object_sptr > const &topo_objs)
int n_frames () const
int frame_index () const
int get_N_input_images () const
vil1_image get_input_image (unsigned int i)
vil1_image get_output_image ()
int get_N_input_spat_objs () const
vcl_vector
< vsol_spatial_object_2d_sptr >
const & 
get_input_spatial_objects ()
int get_N_input_topo_objs () const
vcl_vector
< vtol_topology_object_sptr >
const & 
get_input_topology ()
virtual vcl_vector
< vsol_spatial_object_2d_sptr >
const & 
get_output_spatial_objects ()
virtual vcl_vector
< vtol_topology_object_sptr >
const & 
get_output_topology ()
void set_graph_flag ()
void clear_graph_flag ()
bool graph_flag () const
void set_graph (vcl_vector< float > const &graph)
vcl_vector< float > graph () const
unsigned int start_frame () const
unsigned int end_frame () const
virtual process_data_type get_input_type () const
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Public Attributes

 NOTYPE
 IMAGE
 SPATIAL_OBJECT
 TOPOLOGY
 IMAGE_SPATIAL_OBJECT

Protected Attributes

int frame_index_
int n_frames_
unsigned int end_frame_
vcl_vector< vil1_image > input_images_
vcl_vector
< vsol_spatial_object_2d_sptr
input_spat_objs_
vcl_vector
< vtol_topology_object_sptr
input_topo_objs_
vil1_image output_image_
vcl_vector
< vtol_topology_object_sptr
output_topo_objs_
vcl_vector
< vsol_spatial_object_2d_sptr
output_spat_objs_
bool graph_flag_
vcl_vector< float > graph_

Private Attributes

bool write_tracked_faces_
bool write_tracked_hist_
vcl_string track_file_
vcl_string hist_file_
bool failure_
bool first_frame_
strk_info_tracker tracker_
int n_verts_
int start_frame_
vcl_vector< vtol_face_2d_sptrtracked_faces_
vcl_vector< vcl_vector< float > > tracked_hist_
vcl_vector< unsigned char > color_index_

Detailed Description

Definition at line 19 of file strk_info_tracker_process.h.


Constructor & Destructor Documentation

strk_info_tracker_process::strk_info_tracker_process ( strk_info_tracker_params tp)

Definition at line 17 of file strk_info_tracker_process.cxx.

strk_info_tracker_process::~strk_info_tracker_process ( )

Definition at line 42 of file strk_info_tracker_process.cxx.


Member Function Documentation

vcl_vector<unsigned char> strk_info_tracker_process::color_index ( ) const [inline]

special methods.

for display

Definition at line 34 of file strk_info_tracker_process.h.

bool strk_info_tracker_process::execute ( ) [virtual]

track to next frame.

Implements vpro_video_process.

Definition at line 47 of file strk_info_tracker_process.cxx.

bool strk_info_tracker_process::finish ( ) [virtual]

Implements vpro_video_process.

Definition at line 172 of file strk_info_tracker_process.cxx.

virtual process_data_type strk_info_tracker_process::get_output_type ( ) const [inline, virtual]

Reimplemented from vpro_video_process.

Definition at line 24 of file strk_info_tracker_process.h.

bool strk_info_tracker_process::set_hist_output_file ( vcl_string const &  file_name)

Definition at line 212 of file strk_info_tracker_process.cxx.

bool strk_info_tracker_process::set_track_output_file ( vcl_string const &  file_name)

Definition at line 197 of file strk_info_tracker_process.cxx.


Member Data Documentation

vcl_vector<unsigned char> strk_info_tracker_process::color_index_ [private]

Definition at line 48 of file strk_info_tracker_process.h.

Definition at line 41 of file strk_info_tracker_process.h.

Definition at line 42 of file strk_info_tracker_process.h.

Definition at line 40 of file strk_info_tracker_process.h.

Definition at line 44 of file strk_info_tracker_process.h.

Reimplemented from vpro_video_process.

Definition at line 45 of file strk_info_tracker_process.h.

Definition at line 39 of file strk_info_tracker_process.h.

Definition at line 46 of file strk_info_tracker_process.h.

vcl_vector<vcl_vector<float> > strk_info_tracker_process::tracked_hist_ [private]

Definition at line 47 of file strk_info_tracker_process.h.

Definition at line 43 of file strk_info_tracker_process.h.

Definition at line 37 of file strk_info_tracker_process.h.

Definition at line 38 of file strk_info_tracker_process.h.


The documentation for this class was generated from the following files: