Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

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.

Detailed Description

Definition at line 19 of file strk_info_tracker_process.h.

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 ()
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 ()
 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 ()
int frame_index ()
int get_N_input_images ()
vil1_image get_input_image (unsigned int i)
vil1_image get_output_image ()
int get_N_input_spat_objs ()
vcl_vector< vsol_spatial_object_2d_sptr
> const & 
get_input_spatial_objects ()
int get_N_input_topo_objs ()
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 ()
void set_graph (vcl_vector< float > const &graph)
vcl_vector< float > graph ()
unsigned int start_frame ()
unsigned int end_frame ()
virtual process_data_type get_input_type ()
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_imageinput_images_
vcl_vector< vsol_spatial_object_2d_sptrinput_spat_objs_
vcl_vector< vtol_topology_object_sptrinput_topo_objs_
vil1_image output_image_
vcl_vector< vtol_topology_object_sptroutput_topo_objs_
vcl_vector< vsol_spatial_object_2d_sptroutput_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_


Constructor & Destructor Documentation

strk_info_tracker_process::strk_info_tracker_process strk_info_tracker_params tp  ) 
 

Definition at line 15 of file strk_info_tracker_process.cxx.

strk_info_tracker_process::~strk_info_tracker_process  ) 
 

Definition at line 40 of file strk_info_tracker_process.cxx.


Member Function Documentation

vcl_vector<unsigned char> strk_info_tracker_process::color_index  )  [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 45 of file strk_info_tracker_process.cxx.

bool strk_info_tracker_process::finish  )  [virtual]
 

Implements vpro_video_process.

Definition at line 170 of file strk_info_tracker_process.cxx.

virtual process_data_type strk_info_tracker_process::get_output_type  )  [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 210 of file strk_info_tracker_process.cxx.

bool strk_info_tracker_process::set_track_output_file vcl_string const &  file_name  ) 
 

Definition at line 195 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.

bool strk_info_tracker_process::failure_ [private]
 

Definition at line 41 of file strk_info_tracker_process.h.

bool strk_info_tracker_process::first_frame_ [private]
 

Definition at line 42 of file strk_info_tracker_process.h.

vcl_string strk_info_tracker_process::hist_file_ [private]
 

Definition at line 40 of file strk_info_tracker_process.h.

int strk_info_tracker_process::n_verts_ [private]
 

Definition at line 44 of file strk_info_tracker_process.h.

int strk_info_tracker_process::start_frame_ [private]
 

Reimplemented from vpro_video_process.

Definition at line 45 of file strk_info_tracker_process.h.

vcl_string strk_info_tracker_process::track_file_ [private]
 

Definition at line 39 of file strk_info_tracker_process.h.

vcl_vector<vtol_face_2d_sptr> strk_info_tracker_process::tracked_faces_ [private]
 

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.

strk_info_tracker strk_info_tracker_process::tracker_ [private]
 

Definition at line 43 of file strk_info_tracker_process.h.

bool strk_info_tracker_process::write_tracked_faces_ [private]
 

Definition at line 37 of file strk_info_tracker_process.h.

bool strk_info_tracker_process::write_tracked_hist_ [private]
 

Definition at line 38 of file strk_info_tracker_process.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:53:21 2008 for contrib/brl/bseg/strk by  doxygen 1.4.4