brct_dense_reconstructor Class Reference

#include <brct_dense_reconstructor.h>

List of all members.


Detailed Description

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_sptrpoints0 (const int i, const int del=5)
 get vsol points corresponding to a line from image 0.
vcl_vector< vsol_point_2d_sptrpoints1 (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_

Constructor & Destructor Documentation

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.


Member Function Documentation

void brct_dense_reconstructor::set_search_range ( const int  range  ) 

set search range.

Definition at line 31 of file brct_dense_reconstructor.cxx.

void brct_dense_reconstructor::set_correlation_window_radius ( const int  radius  ) 

set correlation window radius.

Definition at line 37 of file brct_dense_reconstructor.cxx.

void brct_dense_reconstructor::set_inner_cost ( const double  inner_cost  ) 

set inner null cost.

Definition at line 45 of file brct_dense_reconstructor.cxx.

void brct_dense_reconstructor::set_outer_cost ( const double  outer_cost  ) 

set outer null cost.

Definition at line 51 of file brct_dense_reconstructor.cxx.

void brct_dense_reconstructor::set_continuity_cost ( const double  continuity_cost  ) 

set continuity cost.

Definition at line 57 of file brct_dense_reconstructor.cxx.

void brct_dense_reconstructor::initial_calculations (  ) 

set up dense matching data.

Definition at line 83 of file brct_dense_reconstructor.cxx.

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 (  ) 

do all rasters.

Definition at line 67 of file brct_dense_reconstructor.cxx.

void brct_dense_reconstructor::print_params (  ) 

print parameters.

Definition at line 62 of file brct_dense_reconstructor.cxx.

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]

get the assigned coordinate.

Definition at line 119 of file brct_dense_reconstructor.cxx.

int brct_dense_reconstructor::get_disparity ( int  x,
int  y 
) [virtual]

get the disparity of pixel x,y.

Definition at line 109 of file brct_dense_reconstructor.cxx.

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  ) 

write an image of the disparity.

Definition at line 170 of file brct_dense_reconstructor.cxx.

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.


Member Data Documentation

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.


The documentation for this class was generated from the following files:
Generated on Mon Mar 8 05:35:53 2010 for contrib/brl/bmvl/brct by  doxygen 1.5.1