#include <strk_io.h>
Public Member Functions | |
| ~strk_io () | |
Static Public Member Functions | |
| static bool | write_histogram_data (const unsigned int start_frame, const unsigned int n_pixels, const float diameter, const float aspect_ratio, const unsigned int n_int_bins, const unsigned int n_grad_dir_bins, const unsigned int n_color_bins, vcl_vector< vcl_vector< float > >const &data, vcl_ofstream &strm) |
| write the info tracker feature histogram track data. | |
| static bool | write_track_data (const unsigned int start_frame, vcl_vector< vtol_face_2d_sptr > const &tracked_faces, vcl_ofstream &strm) |
| write the info tracker track data. | |
| static bool | read_histogram_data (vcl_ifstream &strm, unsigned int &start_frame, unsigned int &n_frames, unsigned int &n_pixels, float &diameter, float &aspect_ratio, unsigned int &n_int_bins, unsigned int &n_grad_dir_bins, unsigned int &n_color_bins, vnl_matrix< float > &hist_data) |
| read the info tracker feature histogram track data. | |
| static bool | read_track_data (vcl_ifstream &strm, unsigned int &start_frame, unsigned int &n_frames, vcl_vector< vgl_point_2d< double > > &cogs, vcl_vector< vtol_face_2d_sptr > &tracked_faces) |
| write the info tracker track data. | |
Static Protected Member Functions | |
| static bool | write_frame_data (const unsigned int start_frame, const unsigned int n_frames, vcl_ofstream &strm) |
| static bool | write_region_data (const unsigned int n_pix, const float diameter, const float aspect_ratio, vcl_ofstream &strm) |
| static bool | read_frame_data (vcl_ifstream &strm, unsigned int &start_frame, unsigned int &n_frames) |
| static bool | read_region_data (vcl_ifstream &strm, unsigned int &n_pix, float &diameter, float &aspect_ratio) |
Private Member Functions | |
| strk_io () | |
| strk_io::~strk_io | ( | ) |
| strk_io::strk_io | ( | ) | [private] |
| bool strk_io::read_frame_data | ( | vcl_ifstream & | strm, |
| unsigned int & | start_frame, | ||
| unsigned int & | n_frames | ||
| ) | [static, protected] |
Definition at line 114 of file strk_io.cxx.
| bool strk_io::read_histogram_data | ( | vcl_ifstream & | strm, |
| unsigned int & | start_frame, | ||
| unsigned int & | n_frames, | ||
| unsigned int & | n_pixels, | ||
| float & | diameter, | ||
| float & | aspect_ratio, | ||
| unsigned int & | n_int_bins, | ||
| unsigned int & | n_grad_dir_bins, | ||
| unsigned int & | n_color_bins, | ||
| vnl_matrix< float > & | hist_data | ||
| ) | [static] |
read the info tracker feature histogram track data.
Definition at line 153 of file strk_io.cxx.
| bool strk_io::read_region_data | ( | vcl_ifstream & | strm, |
| unsigned int & | n_pix, | ||
| float & | diameter, | ||
| float & | aspect_ratio | ||
| ) | [static, protected] |
Definition at line 131 of file strk_io.cxx.
| bool strk_io::read_track_data | ( | vcl_ifstream & | strm, |
| unsigned int & | start_frame, | ||
| unsigned int & | n_frames, | ||
| vcl_vector< vgl_point_2d< double > > & | cogs, | ||
| vcl_vector< vtol_face_2d_sptr > & | tracked_faces | ||
| ) | [static] |
write the info tracker track data.
Definition at line 191 of file strk_io.cxx.
| bool strk_io::write_frame_data | ( | const unsigned int | start_frame, |
| const unsigned int | n_frames, | ||
| vcl_ofstream & | strm | ||
| ) | [static, protected] |
Definition at line 13 of file strk_io.cxx.
| bool strk_io::write_histogram_data | ( | const unsigned int | start_frame, |
| const unsigned int | n_pixels, | ||
| const float | diameter, | ||
| const float | aspect_ratio, | ||
| const unsigned int | n_int_bins, | ||
| const unsigned int | n_grad_dir_bins, | ||
| const unsigned int | n_color_bins, | ||
| vcl_vector< vcl_vector< float > >const & | data, | ||
| vcl_ofstream & | strm | ||
| ) | [static] |
write the info tracker feature histogram track data.
Definition at line 37 of file strk_io.cxx.
| bool strk_io::write_region_data | ( | const unsigned int | n_pix, |
| const float | diameter, | ||
| const float | aspect_ratio, | ||
| vcl_ofstream & | strm | ||
| ) | [static, protected] |
Definition at line 24 of file strk_io.cxx.
| bool strk_io::write_track_data | ( | const unsigned int | start_frame, |
| vcl_vector< vtol_face_2d_sptr > const & | tracked_faces, | ||
| vcl_ofstream & | strm | ||
| ) | [static] |
write the info tracker track data.
Definition at line 69 of file strk_io.cxx.
1.7.5.1