#include <brct_dense_reconstructor.h>
Definition at line 24 of file brct_dense_reconstructor.h.
Public Member Functions | |
| brct_dense_reconstructor (vil1_image const &im1, vil1_image const &img2) | |
| ~brct_dense_reconstructor () | |
| void | set_search_range (const int range) |
| set search range. | |
| void | set_correlation_window_radius (const int radius) |
| set correlation window radius. | |
| void | set_inner_cost (const double inner_cost) |
| set inner null cost. | |
| void | set_outer_cost (const double outer_cost) |
| set outer null cost. | |
| void | set_continuity_cost (const double continuity_cost) |
| set continuity cost. | |
| void | initial_calculations () |
| set up dense matching data. | |
| void | evaluate_raster (const int i) |
| performs the dynamic program on the specified raster. | |
| void | execute () |
| do all rasters. | |
| void | print_params () |
| print parameters. | |
| vcl_vector< vsol_point_2d_sptr > | points0 (const int i, const int del=5) |
| get vsol points corresponding to a line from image 0. | |
| vcl_vector< vsol_point_2d_sptr > | points1 (const int i, const int del=5) |
| get vsol points corresponding to a line from image 1. | |
| virtual int | get_assignment (int x, int y) |
| get the assigned coordinate. | |
| virtual int | get_disparity (int x, int y) |
| get the disparity of pixel x,y. | |
| void | get_correlation (const int x, const int y, vcl_vector< int > &xpos, vcl_vector< double > &corr) |
| get the correlation values within the search range. | |
| void | write_disparity_image (char *filename) |
| write an image of the disparity. | |
| void | print_correlation_cost (const int x, const int y) |
| print out the correlation costs for point x,y. | |
Private Attributes | |
| vsrl_image_correlation | image_correlation_ |
| vsrl_raster_dp_setup ** | raster_array_ |
| int | num_raster_ |
| int | correlation_range_ |
| brct_dense_reconstructor::brct_dense_reconstructor | ( | vil1_image const & | im1, | |
| vil1_image const & | img2 | |||
| ) |
Definition at line 10 of file brct_dense_reconstructor.cxx.
| brct_dense_reconstructor::~brct_dense_reconstructor | ( | ) |
Definition at line 20 of file brct_dense_reconstructor.cxx.
| void brct_dense_reconstructor::set_search_range | ( | const int | range | ) |
| void brct_dense_reconstructor::set_correlation_window_radius | ( | const int | radius | ) |
| void brct_dense_reconstructor::set_inner_cost | ( | const double | inner_cost | ) |
| void brct_dense_reconstructor::set_outer_cost | ( | const double | outer_cost | ) |
| void brct_dense_reconstructor::set_continuity_cost | ( | const double | continuity_cost | ) |
| void brct_dense_reconstructor::initial_calculations | ( | ) |
| void brct_dense_reconstructor::evaluate_raster | ( | const int | i | ) |
performs the dynamic program on the specified raster.
Definition at line 136 of file brct_dense_reconstructor.cxx.
| void brct_dense_reconstructor::execute | ( | ) |
| void brct_dense_reconstructor::print_params | ( | ) |
| vcl_vector< vsol_point_2d_sptr > brct_dense_reconstructor::points0 | ( | const int | i, | |
| const int | del = 5 | |||
| ) |
get vsol points corresponding to a line from image 0.
Definition at line 212 of file brct_dense_reconstructor.cxx.
| vcl_vector< vsol_point_2d_sptr > brct_dense_reconstructor::points1 | ( | const int | i, | |
| const int | del = 5 | |||
| ) |
get vsol points corresponding to a line from image 1.
Definition at line 226 of file brct_dense_reconstructor.cxx.
| int brct_dense_reconstructor::get_assignment | ( | int | x, | |
| int | y | |||
| ) | [virtual] |
| int brct_dense_reconstructor::get_disparity | ( | int | x, | |
| int | y | |||
| ) | [virtual] |
| void brct_dense_reconstructor::get_correlation | ( | const int | x, | |
| const int | y, | |||
| vcl_vector< int > & | xpos, | |||
| vcl_vector< double > & | corr | |||
| ) |
get the correlation values within the search range.
Definition at line 244 of file brct_dense_reconstructor.cxx.
| void brct_dense_reconstructor::write_disparity_image | ( | char * | filename | ) |
| void brct_dense_reconstructor::print_correlation_cost | ( | const int | x, | |
| const int | y | |||
| ) |
print out the correlation costs for point x,y.
Definition at line 203 of file brct_dense_reconstructor.cxx.
vsrl_image_correlation brct_dense_reconstructor::image_correlation_ [private] |
Definition at line 26 of file brct_dense_reconstructor.h.
vsrl_raster_dp_setup** brct_dense_reconstructor::raster_array_ [private] |
Definition at line 27 of file brct_dense_reconstructor.h.
int brct_dense_reconstructor::num_raster_ [private] |
Definition at line 28 of file brct_dense_reconstructor.h.
int brct_dense_reconstructor::correlation_range_ [private] |
Definition at line 29 of file brct_dense_reconstructor.h.
1.5.1