#include <vpro_grid_finder_process.h>

Public Types | |
| enum | process_data_type { NOTYPE = 0, IMAGE, SPATIAL_OBJECT, TOPOLOGY, IMAGE_SPATIAL_OBJECT } |
| enum | debug |
Public Member Functions | |
| vpro_grid_finder_process (sdet_detector_params &dp, sdet_fit_lines_params &flp, sdet_grid_finder_params &gfp) | |
| ~vpro_grid_finder_process () | |
| void | set_output_file (vcl_string filename) |
| set the output filename. | |
| virtual process_data_type | get_input_type () const |
| virtual process_data_type | get_output_type () const |
| virtual bool | execute () |
| compute van duc edges, line segments, and then match the grid. | |
| virtual bool | finish () |
| 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 () const |
| int | frame_index () const |
| int | get_N_input_images () const |
| vil1_image | get_input_image (unsigned int i) |
| vil1_image | get_output_image () |
| int | get_N_input_spat_objs () const |
| vcl_vector < vsol_spatial_object_2d_sptr > const & | get_input_spatial_objects () |
| int | get_N_input_topo_objs () const |
| vcl_vector < vtol_topology_object_sptr > const & | get_input_topology () |
| virtual vcl_vector < vsol_spatial_object_2d_sptr > const & | get_output_spatial_objects () |
| output handling may depend on the specific process. | |
| virtual vcl_vector < vtol_topology_object_sptr > const & | get_output_topology () |
| void | set_graph_flag () |
| void | clear_graph_flag () |
| bool | graph_flag () const |
| void | set_graph (vcl_vector< float > const &graph) |
| vcl_vector< float > | graph () const |
| unsigned int | start_frame () const |
| unsigned int | end_frame () const |
| void | ref () |
| void | unref () |
| int | get_references () const |
| bool | is_referenced () const |
| bool | SanityCheck () |
| void | set_noise_weight (float noise_weight) |
| void | set_noise_multiplier (float noise_multiplier) |
| void | set_automatic_threshold (bool automatic_threshold) |
| void | set_aggressive_junction_closure (int aggressive_junction_closure) |
| void | set_close_borders (bool close_borders) |
| bool | SanityCheck () |
| void | ref () |
| void | unref () |
| int | get_references () const |
| bool | is_referenced () const |
| bool | SanityCheck () |
| void | get_debug_choices (vcl_vector< vcl_string > &choices) |
Public Attributes | |
| vcl_vector< float > | frame_scores_ |
| float | smooth |
| float | noise_weight |
| float | noise_multiplier |
| bool | automatic_threshold |
| int | aggressive_junction_closure |
| int | minLength |
| float | contourFactor |
| float | junctionFactor |
| float | filterFactor |
| bool | junctionp |
| float | minJump |
| float | maxGap |
| bool | spacingp |
| bool | borderp |
| bool | peaks_only |
| bool | valleys_only |
| float | corner_angle |
| float | separation |
| int | min_corner_length |
| int | cycle |
| int | ndimension |
| int | min_fit_length_ |
| double | rms_distance_ |
| NO_DEBUG | |
| VANISHING_POINT | |
| AFFINE_GROUP_BEFORE_SKEW_SCALE | |
| AFFINE_GROUP_AFTER_SKEW_SCALE | |
| TRANS_PERIM_LINES | |
| AFFINE_GROUP_AFTER_TRANS | |
| int | n_lines_x_ |
| int | n_lines_y_ |
| double | spacing_ |
| int | thresh_ |
| float | angle_tol_ |
| bool | verbose_ |
| int | debug_state_ |
Protected Member Functions | |
| void | InitParams (float smooth_sigma, float noise_w, float noise_m, bool automatic_t, int aggressive_jc, int minl, float maxgp, float minjmp, float contour_f, float junction_f, bool recover_j, bool equal_spacing, bool follow_b, bool peaks_only, bool valleys_only, float ang, float sep, int min_corner_len, int cyc, int ndim) |
| void | InitParams (int min_fit_length, double rms_distance) |
| void | InitParams (const int n_lines_x, const int n_lines_y, const double spacing, const int thresh, const float angle_tol, bool verbose, int debug_state) |
Protected Attributes | |
| int | frame_index_ |
| int | n_frames_ |
| unsigned int | start_frame_ |
| unsigned int | end_frame_ |
| vcl_vector< vil1_image > | input_images_ |
| vcl_vector < vsol_spatial_object_2d_sptr > | input_spat_objs_ |
| vcl_vector < vtol_topology_object_sptr > | input_topo_objs_ |
| vil1_image | output_image_ |
| vcl_vector < vtol_topology_object_sptr > | output_topo_objs_ |
| vcl_vector < vsol_spatial_object_2d_sptr > | output_spat_objs_ |
| bool | graph_flag_ |
| vcl_vector< float > | graph_ |
Private Attributes | |
| vcl_string | output_filename_ |
Friends | |
| friend vcl_ostream & | operator<< (vcl_ostream &, const sdet_detector_params &dp) |
| friend vcl_ostream & | operator<< (vcl_ostream &os, const sdet_fit_lines_params &flp) |
| friend vcl_ostream & | operator<< (vcl_ostream &, const sdet_grid_finder_params &gfp) |
Definition at line 23 of file vpro_grid_finder_process.h.
enum vpro_video_process::process_data_type [inherited] |
Definition at line 30 of file vpro_video_process.h.
| vpro_grid_finder_process::vpro_grid_finder_process | ( | sdet_detector_params & | dp, |
| sdet_fit_lines_params & | flp, | ||
| sdet_grid_finder_params & | gfp | ||
| ) |
Definition at line 15 of file vpro_grid_finder_process.cxx.
| vpro_grid_finder_process::~vpro_grid_finder_process | ( | ) |
Definition at line 24 of file vpro_grid_finder_process.cxx.
| void vpro_video_process::add_input_image | ( | vil1_image const & | im | ) | [inline, inherited] |
Definition at line 50 of file vpro_video_process.h.
| void vpro_video_process::add_input_spatial_object | ( | vsol_spatial_object_2d_sptr const & | so | ) | [inherited] |
Definition at line 36 of file vpro_video_process.cxx.
| void vpro_video_process::add_input_spatial_objects | ( | vcl_vector< vsol_spatial_object_2d_sptr > const & | spat_objs | ) | [inherited] |
Definition at line 41 of file vpro_video_process.cxx.
| void vpro_video_process::add_input_topology | ( | vcl_vector< vtol_topology_object_sptr > const & | topo_objs | ) | [inherited] |
Definition at line 52 of file vpro_video_process.cxx.
| void vpro_video_process::add_input_topology_object | ( | vtol_topology_object_sptr const & | to | ) | [inherited] |
Definition at line 47 of file vpro_video_process.cxx.
| void vpro_video_process::clear_graph_flag | ( | ) | [inline, inherited] |
Definition at line 84 of file vpro_video_process.h.
| void vpro_video_process::clear_input | ( | ) | [inherited] |
Definition at line 22 of file vpro_video_process.cxx.
| void vpro_video_process::clear_output | ( | ) | [inherited] |
Definition at line 29 of file vpro_video_process.cxx.
| unsigned int vpro_video_process::end_frame | ( | ) | const [inline, inherited] |
Definition at line 90 of file vpro_video_process.h.
| bool vpro_grid_finder_process::execute | ( | ) | [virtual] |
compute van duc edges, line segments, and then match the grid.
setup a pipeline for edges and line segments.
Implements vpro_video_process.
Definition at line 37 of file vpro_grid_finder_process.cxx.
| virtual bool vpro_grid_finder_process::finish | ( | ) | [inline, virtual] |
Implements vpro_video_process.
Definition at line 37 of file vpro_grid_finder_process.h.
| int vpro_video_process::frame_index | ( | ) | const [inline, inherited] |
Definition at line 61 of file vpro_video_process.h.
| vil1_image vpro_video_process::get_input_image | ( | unsigned int | i | ) | [inherited] |
Definition at line 11 of file vpro_video_process.cxx.
| vcl_vector<vsol_spatial_object_2d_sptr> const& vpro_video_process::get_input_spatial_objects | ( | ) | [inline, inherited] |
Definition at line 67 of file vpro_video_process.h.
| vcl_vector<vtol_topology_object_sptr> const& vpro_video_process::get_input_topology | ( | ) | [inline, inherited] |
Definition at line 71 of file vpro_video_process.h.
| virtual process_data_type vpro_grid_finder_process::get_input_type | ( | ) | const [inline, virtual] |
Reimplemented from vpro_video_process.
Definition at line 32 of file vpro_grid_finder_process.h.
| int vpro_video_process::get_N_input_images | ( | ) | const [inline, inherited] |
Definition at line 62 of file vpro_video_process.h.
| int vpro_video_process::get_N_input_spat_objs | ( | ) | const [inline, inherited] |
Definition at line 66 of file vpro_video_process.h.
| int vpro_video_process::get_N_input_topo_objs | ( | ) | const [inline, inherited] |
Definition at line 70 of file vpro_video_process.h.
| vil1_image vpro_video_process::get_output_image | ( | ) | [inline, inherited] |
Definition at line 64 of file vpro_video_process.h.
| virtual vcl_vector<vsol_spatial_object_2d_sptr> const& vpro_video_process::get_output_spatial_objects | ( | ) | [inline, virtual, inherited] |
output handling may depend on the specific process.
Definition at line 76 of file vpro_video_process.h.
| virtual vcl_vector<vtol_topology_object_sptr> const& vpro_video_process::get_output_topology | ( | ) | [inline, virtual, inherited] |
Definition at line 79 of file vpro_video_process.h.
| virtual process_data_type vpro_grid_finder_process::get_output_type | ( | ) | const [inline, virtual] |
Reimplemented from vpro_video_process.
Definition at line 33 of file vpro_grid_finder_process.h.
| vcl_vector<float> vpro_video_process::graph | ( | ) | const [inline, inherited] |
Definition at line 87 of file vpro_video_process.h.
| bool vpro_video_process::graph_flag | ( | ) | const [inline, inherited] |
Definition at line 85 of file vpro_video_process.h.
| int vpro_video_process::n_frames | ( | ) | const [inline, inherited] |
Definition at line 60 of file vpro_video_process.h.
| void vpro_video_process::set_frame_index | ( | int | index | ) | [inline, inherited] |
Definition at line 48 of file vpro_video_process.h.
| void vpro_video_process::set_graph | ( | vcl_vector< float > const & | graph | ) | [inline, inherited] |
Definition at line 86 of file vpro_video_process.h.
| void vpro_video_process::set_graph_flag | ( | ) | [inline, inherited] |
Definition at line 83 of file vpro_video_process.h.
| void vpro_video_process::set_n_frames | ( | int | n_frames | ) | [inline, inherited] |
Definition at line 47 of file vpro_video_process.h.
| void vpro_grid_finder_process::set_output_file | ( | vcl_string | filename | ) |
set the output filename.
Definition at line 29 of file vpro_grid_finder_process.cxx.
| unsigned int vpro_video_process::start_frame | ( | ) | const [inline, inherited] |
Definition at line 89 of file vpro_video_process.h.
unsigned int vpro_video_process::end_frame_ [protected, inherited] |
Definition at line 101 of file vpro_video_process.h.
int vpro_video_process::frame_index_ [protected, inherited] |
Definition at line 98 of file vpro_video_process.h.
| vcl_vector<float> vpro_grid_finder_process::frame_scores_ |
Definition at line 38 of file vpro_grid_finder_process.h.
vcl_vector<float> vpro_video_process::graph_ [protected, inherited] |
Definition at line 109 of file vpro_video_process.h.
bool vpro_video_process::graph_flag_ [protected, inherited] |
Definition at line 108 of file vpro_video_process.h.
vcl_vector<vil1_image> vpro_video_process::input_images_ [protected, inherited] |
Definition at line 102 of file vpro_video_process.h.
vcl_vector<vsol_spatial_object_2d_sptr> vpro_video_process::input_spat_objs_ [protected, inherited] |
Definition at line 103 of file vpro_video_process.h.
vcl_vector<vtol_topology_object_sptr> vpro_video_process::input_topo_objs_ [protected, inherited] |
Definition at line 104 of file vpro_video_process.h.
int vpro_video_process::n_frames_ [protected, inherited] |
Definition at line 99 of file vpro_video_process.h.
vcl_string vpro_grid_finder_process::output_filename_ [private] |
Definition at line 40 of file vpro_grid_finder_process.h.
vil1_image vpro_video_process::output_image_ [protected, inherited] |
Definition at line 105 of file vpro_video_process.h.
vcl_vector<vsol_spatial_object_2d_sptr> vpro_video_process::output_spat_objs_ [protected, inherited] |
Definition at line 107 of file vpro_video_process.h.
vcl_vector<vtol_topology_object_sptr> vpro_video_process::output_topo_objs_ [protected, inherited] |
Definition at line 106 of file vpro_video_process.h.
unsigned int vpro_video_process::start_frame_ [protected, inherited] |
Definition at line 100 of file vpro_video_process.h.
1.7.5.1