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

strk_feature_capture_process Class Reference

#include <strk_feature_capture_process.h>

Inheritance diagram for strk_feature_capture_process:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 22 of file strk_feature_capture_process.h.

Public Types

enum  process_data_type

Public Member Functions

 strk_feature_capture_process (strk_info_tracker_params &tp)
 ~strk_feature_capture_process ()
virtual process_data_type get_output_type ()
virtual bool execute ()
 track to next frame.
virtual bool finish ()
bool set_input_file (vcl_string const &file_name)
bool set_output_file (vcl_string const &file_name)
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 failure_
bool first_frame_
unsigned int face_index_
unsigned int start_frame_
vcl_string track_file_
vcl_string hist_file_
strk_info_tracker tracker_
vcl_vector< vtol_face_2d_sptrtracked_faces_
vcl_vector< vcl_vector< float > > tracked_hist_


Constructor & Destructor Documentation

strk_feature_capture_process::strk_feature_capture_process strk_info_tracker_params tp  ) 
 

Definition at line 10 of file strk_feature_capture_process.cxx.

strk_feature_capture_process::~strk_feature_capture_process  ) 
 

Definition at line 18 of file strk_feature_capture_process.cxx.


Member Function Documentation

bool strk_feature_capture_process::execute  )  [virtual]
 

track to next frame.

Implements vpro_video_process.

Definition at line 22 of file strk_feature_capture_process.cxx.

bool strk_feature_capture_process::finish  )  [virtual]
 

Implements vpro_video_process.

Definition at line 71 of file strk_feature_capture_process.cxx.

virtual process_data_type strk_feature_capture_process::get_output_type  )  [inline, virtual]
 

Reimplemented from vpro_video_process.

Definition at line 27 of file strk_feature_capture_process.h.

bool strk_feature_capture_process::set_input_file vcl_string const &  file_name  ) 
 

Definition at line 100 of file strk_feature_capture_process.cxx.

bool strk_feature_capture_process::set_output_file vcl_string const &  file_name  ) 
 

Definition at line 126 of file strk_feature_capture_process.cxx.


Member Data Documentation

unsigned int strk_feature_capture_process::face_index_ [private]
 

Definition at line 38 of file strk_feature_capture_process.h.

bool strk_feature_capture_process::failure_ [private]
 

Definition at line 36 of file strk_feature_capture_process.h.

bool strk_feature_capture_process::first_frame_ [private]
 

Definition at line 37 of file strk_feature_capture_process.h.

vcl_string strk_feature_capture_process::hist_file_ [private]
 

Definition at line 41 of file strk_feature_capture_process.h.

unsigned int strk_feature_capture_process::start_frame_ [private]
 

Reimplemented from vpro_video_process.

Definition at line 39 of file strk_feature_capture_process.h.

vcl_string strk_feature_capture_process::track_file_ [private]
 

Definition at line 40 of file strk_feature_capture_process.h.

vcl_vector<vtol_face_2d_sptr> strk_feature_capture_process::tracked_faces_ [private]
 

Definition at line 43 of file strk_feature_capture_process.h.

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

Definition at line 44 of file strk_feature_capture_process.h.

strk_info_tracker strk_feature_capture_process::tracker_ [private]
 

Definition at line 42 of file strk_feature_capture_process.h.


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