#include <sdet_nonmax_suppression.h>
Inheritance diagram for sdet_nonmax_suppression:

Definition at line 51 of file sdet_nonmax_suppression.h.
Public Member Functions | |
| sdet_nonmax_suppression (sdet_nonmax_suppression_params &nsp, vbl_array_2d< double > &grad_x, vbl_array_2d< double > &grad_y) | |
| Constructor from a parameter block, and gradients along x and y directions given as arrays. | |
| sdet_nonmax_suppression (sdet_nonmax_suppression_params &nsp, vbl_array_2d< double > &dir_x, vbl_array_2d< double > &dir_y, vbl_array_2d< double > &grad_mag) | |
| Constructor from a parameter block, gradient magnitudes given as an array and directions given as component arrays. | |
| sdet_nonmax_suppression (sdet_nonmax_suppression_params &nsp, vbl_array_2d< double > &grad_mag, vbl_array_2d< vgl_vector_2d< double > > &directions) | |
| Constructor from a parameter block, gradient magnitudes given as an array and the search directions. | |
| sdet_nonmax_suppression (sdet_nonmax_suppression_params &nsp, vil_image_view< double > &grad_x, vil_image_view< double > &grad_y) | |
| Constructor from a parameter block, and gradients along x and y directions given as images. | |
| sdet_nonmax_suppression (sdet_nonmax_suppression_params &nsp, vil_image_view< double > &dir_x, vil_image_view< double > &dir_y, vil_image_view< double > &grad_mag) | |
| Constructor from a parameter block, gradient magnitudes given as an image and directions given as component image. | |
| sdet_nonmax_suppression (sdet_nonmax_suppression_params &nsp, vil_image_view< double > &grad_mag, vbl_array_2d< vgl_vector_2d< double > > &directions) | |
| Constructor from a parameter block, gradient magnitudes given as an image and the search directions. | |
| ~sdet_nonmax_suppression () | |
| Destructor. | |
| vcl_vector< vsol_point_2d_sptr > & | get_points () |
| vcl_vector< vsol_line_2d_sptr > & | get_lines () |
| vcl_vector< vgl_vector_2d< double > > & | get_directions () |
| void | apply () |
| Apply the algorithm. | |
| void | clear () |
| Clear internal storage. | |
| bool | SanityCheck () |
| Checks that parameters are within acceptable bounds. | |
Public Attributes | |
| double | thresh_ |
| points with gradient magnitude below thresh_*maximum_gradient_magnitude/100 will not be processed. | |
| int | pfit_type_ |
Protected Member Functions | |
| int | intersected_face_number (double gx, double gy) |
| double | intersection_parameter (double gx, double gy, int face_num) |
| void | f_values (int x, int y, double gx, double gy, double s, int face_num, double *f) |
| void | get_relative_corner_coordinates (int face_num, int *corners) |
| double | subpixel_s (double *s, double *f) |
| double | subpixel_s (int x, int y, vgl_vector_2d< double > direction) |
| void | find_distance_s_and_f_for_point (int x, int y, vgl_homg_line_2d< double > line, double &d, double &s, vgl_vector_2d< double > direction) |
| void | InitParams (double thresh, int pfit_type) |
Protected Attributes | |
| bool | points_valid_ |
| vcl_vector< vsol_point_2d_sptr > | points_ |
| vcl_vector< vsol_line_2d_sptr > | lines_ |
| vcl_vector< vgl_vector_2d< double > > | directions_ |
| vbl_array_2d< double > | grad_x_ |
| vbl_array_2d< double > | grad_y_ |
| vbl_array_2d< double > | grad_mag_ |
| int | width_ |
| int | height_ |
| double | max_grad_mag_ |
| int | parabola_fit_type_ |
Friends | |
| vcl_ostream & | operator<< (vcl_ostream &, const sdet_nonmax_suppression_params &dp) |
|
||||||||||||||||
|
Constructor from a parameter block, and gradients along x and y directions given as arrays.
Definition at line 21 of file sdet_nonmax_suppression.cxx. |
|
||||||||||||||||||||
|
Constructor from a parameter block, gradient magnitudes given as an array and directions given as component arrays.
Definition at line 50 of file sdet_nonmax_suppression.cxx. |
|
||||||||||||||||
|
Constructor from a parameter block, gradient magnitudes given as an array and the search directions.
Definition at line 80 of file sdet_nonmax_suppression.cxx. |
|
||||||||||||||||
|
Constructor from a parameter block, and gradients along x and y directions given as images.
Definition at line 110 of file sdet_nonmax_suppression.cxx. |
|
||||||||||||||||||||
|
Constructor from a parameter block, gradient magnitudes given as an image and directions given as component image.
Definition at line 141 of file sdet_nonmax_suppression.cxx. |
|
||||||||||||||||
|
Constructor from a parameter block, gradient magnitudes given as an image and the search directions.
Definition at line 171 of file sdet_nonmax_suppression.cxx. |
|
|
Destructor.
Definition at line 200 of file sdet_nonmax_suppression.cxx. |
|
|
Apply the algorithm.
Definition at line 207 of file sdet_nonmax_suppression.cxx. |
|
|
Clear internal storage.
Definition at line 462 of file sdet_nonmax_suppression.cxx. |
|
||||||||||||||||||||||||||||||||
|
Definition at line 310 of file sdet_nonmax_suppression.cxx. |
|
||||||||||||||||||||||||||||
|
Definition at line 447 of file sdet_nonmax_suppression.cxx. |
|
|
Definition at line 85 of file sdet_nonmax_suppression.h. |
|
|
Definition at line 84 of file sdet_nonmax_suppression.h. |
|
|
Definition at line 83 of file sdet_nonmax_suppression.h. |
|
||||||||||||
|
Definition at line 341 of file sdet_nonmax_suppression.cxx. |
|
||||||||||||
|
Definition at line 27 of file sdet_nonmax_suppression_params.cxx. |
|
||||||||||||
|
Definition at line 262 of file sdet_nonmax_suppression.cxx. |
|
||||||||||||||||
|
Definition at line 295 of file sdet_nonmax_suppression.cxx. |
|
|
Checks that parameters are within acceptable bounds. Note that msg << ends seems to restart the string and erase the previous string. We should only use it as the last call, use vcl_endl otherwise. Definition at line 39 of file sdet_nonmax_suppression_params.cxx. |
|
||||||||||||||||
|
Definition at line 410 of file sdet_nonmax_suppression.cxx. |
|
||||||||||||
|
Definition at line 401 of file sdet_nonmax_suppression.cxx. |
|
||||||||||||
|
Definition at line 55 of file sdet_nonmax_suppression_params.cxx. |
|
|
Definition at line 95 of file sdet_nonmax_suppression.h. |
|
|
Definition at line 98 of file sdet_nonmax_suppression.h. |
|
|
Definition at line 96 of file sdet_nonmax_suppression.h. |
|
|
Definition at line 97 of file sdet_nonmax_suppression.h. |
|
|
Definition at line 99 of file sdet_nonmax_suppression.h. |
|
|
Definition at line 94 of file sdet_nonmax_suppression.h. |
|
|
Definition at line 100 of file sdet_nonmax_suppression.h. |
|
|
Definition at line 101 of file sdet_nonmax_suppression.h. |
|
|
Definition at line 34 of file sdet_nonmax_suppression_params.h. |
|
|
Definition at line 93 of file sdet_nonmax_suppression.h. |
|
|
Definition at line 92 of file sdet_nonmax_suppression.h. |
|
|
points with gradient magnitude below thresh_*maximum_gradient_magnitude/100 will not be processed.
Definition at line 33 of file sdet_nonmax_suppression_params.h. |
|
|
Definition at line 99 of file sdet_nonmax_suppression.h. |
1.4.4