#include <brct_plane_calibrator.h>
Public Types | |
| enum | z_pos { Z_BACK = 0, Z_FRONT } |
| enum | cam_no { LEFT = 0, RIGHT } |
Public Member Functions | |
| brct_plane_calibrator () | |
| ~brct_plane_calibrator () | |
| int | n_points (int plane) const |
| vcl_vector< vgl_homg_point_2d < double > > | points_3d (int plane) const |
| vgl_homg_point_2d< double > | p3d (const int plane, const int i) |
| brct_plane_corr_sptr | corr (const int plane, const int i) |
| void | read_data (vcl_string const &point3d_file) |
| read the visible marker points on a set of 3-d world planes. | |
| bool | set_image_size (const int cam, const int width, const int height) |
| set the image size for a given view. | |
| bool | compute_initial_homographies () |
| bool | compute_homographies () |
| bool | write_corrs (vcl_string const &corrs_file) |
| bool | read_corrs (vcl_string const &corrs_file) |
| bool | write_homographies (vcl_string const &homography_file) |
| vcl_vector< vgl_point_2d < double > > | projected_3d_points_initial (const int plane, const int cam) |
| vcl_vector< vgl_point_2d < double > > | projected_3d_points (const int plane, const int cam) |
Protected Member Functions | |
| void | init_corrs () |
Protected Attributes | |
| vcl_vector< int > | cam_width_ |
| camera info. | |
| vcl_vector< int > | cam_height_ |
| vcl_vector< vcl_vector < vgl_homg_point_2d< double > > > | pts_3d_ |
| vcl_vector< vcl_vector < brct_plane_corr_sptr > > | corrs_ |
| correspondence data. | |
| bool | points_3d_valid_ |
| 3-d loaded flag. | |
| bool | initial_homographies_valid_ |
| initial_homographies flag. | |
| bool | debug_ |
| debug flag. | |
| double | z_back_ |
| double | z_front_ |
| vcl_vector< vcl_vector < vgl_h_matrix_2d< double > > > | initial_homographies_ |
| vcl_vector< vcl_vector < vgl_h_matrix_2d< double > > > | current_homographies_ |
Definition at line 21 of file brct_plane_calibrator.h.
Definition at line 25 of file brct_plane_calibrator.h.
Definition at line 24 of file brct_plane_calibrator.h.
| brct_plane_calibrator::brct_plane_calibrator | ( | ) |
Definition at line 11 of file brct_plane_calibrator.cxx.
| brct_plane_calibrator::~brct_plane_calibrator | ( | ) |
Definition at line 36 of file brct_plane_calibrator.cxx.
| bool brct_plane_calibrator::compute_homographies | ( | ) |
Definition at line 328 of file brct_plane_calibrator.cxx.
| bool brct_plane_calibrator::compute_initial_homographies | ( | ) |
Definition at line 225 of file brct_plane_calibrator.cxx.
| brct_plane_corr_sptr brct_plane_calibrator::corr | ( | const int | plane, |
| const int | i | ||
| ) | [inline] |
Definition at line 36 of file brct_plane_calibrator.h.
| void brct_plane_calibrator::init_corrs | ( | ) | [protected] |
Definition at line 40 of file brct_plane_calibrator.cxx.
| int brct_plane_calibrator::n_points | ( | int | plane | ) | const [inline] |
Definition at line 31 of file brct_plane_calibrator.h.
| vgl_homg_point_2d<double> brct_plane_calibrator::p3d | ( | const int | plane, |
| const int | i | ||
| ) | [inline] |
Definition at line 34 of file brct_plane_calibrator.h.
| vcl_vector<vgl_homg_point_2d<double> > brct_plane_calibrator::points_3d | ( | int | plane | ) | const [inline] |
Definition at line 33 of file brct_plane_calibrator.h.
| vcl_vector< vgl_point_2d< double > > brct_plane_calibrator::projected_3d_points | ( | const int | plane, |
| const int | cam | ||
| ) |
Definition at line 410 of file brct_plane_calibrator.cxx.
| vcl_vector< vgl_point_2d< double > > brct_plane_calibrator::projected_3d_points_initial | ( | const int | plane, |
| const int | cam | ||
| ) |
Definition at line 391 of file brct_plane_calibrator.cxx.
| bool brct_plane_calibrator::read_corrs | ( | vcl_string const & | corrs_file | ) |
Definition at line 267 of file brct_plane_calibrator.cxx.
| void brct_plane_calibrator::read_data | ( | vcl_string const & | point3d_file | ) |
read the visible marker points on a set of 3-d world planes.
Definition at line 54 of file brct_plane_calibrator.cxx.
| bool brct_plane_calibrator::set_image_size | ( | const int | cam, |
| const int | width, | ||
| const int | height | ||
| ) |
set the image size for a given view.
Definition at line 130 of file brct_plane_calibrator.cxx.
| bool brct_plane_calibrator::write_corrs | ( | vcl_string const & | corrs_file | ) |
Definition at line 244 of file brct_plane_calibrator.cxx.
| bool brct_plane_calibrator::write_homographies | ( | vcl_string const & | homography_file | ) |
Definition at line 365 of file brct_plane_calibrator.cxx.
vcl_vector<int> brct_plane_calibrator::cam_height_ [protected] |
Definition at line 65 of file brct_plane_calibrator.h.
vcl_vector<int> brct_plane_calibrator::cam_width_ [protected] |
camera info.
Definition at line 64 of file brct_plane_calibrator.h.
vcl_vector<vcl_vector<brct_plane_corr_sptr> > brct_plane_calibrator::corrs_ [protected] |
correspondence data.
world plane image correspondences
Definition at line 72 of file brct_plane_calibrator.h.
vcl_vector< vcl_vector<vgl_h_matrix_2d<double> > > brct_plane_calibrator::current_homographies_ [protected] |
Definition at line 85 of file brct_plane_calibrator.h.
bool brct_plane_calibrator::debug_ [protected] |
debug flag.
Definition at line 80 of file brct_plane_calibrator.h.
vcl_vector< vcl_vector<vgl_h_matrix_2d<double> > > brct_plane_calibrator::initial_homographies_ [protected] |
Definition at line 84 of file brct_plane_calibrator.h.
bool brct_plane_calibrator::initial_homographies_valid_ [protected] |
initial_homographies flag.
Definition at line 77 of file brct_plane_calibrator.h.
bool brct_plane_calibrator::points_3d_valid_ [protected] |
3-d loaded flag.
Definition at line 75 of file brct_plane_calibrator.h.
vcl_vector<vcl_vector<vgl_homg_point_2d<double> > > brct_plane_calibrator::pts_3d_ [protected] |
Definition at line 68 of file brct_plane_calibrator.h.
double brct_plane_calibrator::z_back_ [protected] |
Definition at line 81 of file brct_plane_calibrator.h.
double brct_plane_calibrator::z_front_ [protected] |
Definition at line 82 of file brct_plane_calibrator.h.
1.7.5.1