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

Definition at line 29 of file vifa_group_pgram.h.
Public Member Functions | |
| vifa_group_pgram (imp_line_list &lg, const vifa_group_pgram_params &old_params, double angle_range=180.0) | |
| ~vifa_group_pgram () | |
| Destructor. | |
| void | Index (imp_line_sptr il) |
| Add an ImplicitLine to the index. | |
| void | Index (imp_line_list &lg) |
| Add a set of ImplicitLines to the angular index. | |
| void | Clear () |
| Clear all lines from the index. | |
| vifa_histogram_sptr | GetCoverageHist (void) |
| Compute a histogram of parallel line coverage. | |
| vifa_line_cover_sptr | GetLineCover (int angle_bin) |
| Get a populated line coverage corresponding to a given angle bin. | |
| double | LineCoverage (int angle_bin) |
| Compute parallel line overlap on a line at the same orientation with midpoint at the center of the region of the line group. | |
| void | CollectAdjacentLines (int angle_bin, imp_line_list &lg) |
| Collect implicit line(s) from the angle array at orientations +- the given bin orientation. | |
| vifa_bbox_sptr | GetBoundingBox (void) |
| void | SetTemp1 (const double tmp) |
| double | GetAdjacentPerimeter (int bin) |
| Get Total length of parallel lines adjacent and including a bin. | |
| double | norm_parallel_line_length (void) |
| Compute the total length of parallel lines normalized by the total edge perimeter. | |
| float | angle_increment () |
| Granularity in the angle bins. | |
| int | max_suppress_radius () |
| Radius of maximum suppression kernel. | |
| float | length_ratio () |
| Relative length of sorter side of parallelogram. | |
| bool | SanityCheck () |
| Check that parameters are within acceptable bounds. | |
| void | print_info (void) |
| Output contents. | |
| bool | Valid () |
| const char * | GetErrorMsg () |
| void | SetErrorMsg (const char *msg) |
| void | touch () |
| unsigned long | get_time_stamp () const |
| bool | older (vul_timestamp const &t) const |
| bool | older (vul_timestamp const *t) const |
| void | ref () |
| void | unref () |
| int | get_references () const |
| bool | is_referenced () const |
Protected Member Functions | |
| int | AngleLoc (imp_line_sptr il) |
| Find the angle bin corresponding to an implicit_line. | |
| imp_line_sptr | LineAtAngle (int angle_bin) |
| Define a line passing through the center of the Hough ROI and at an angle correspoinding the angle bin. | |
| void | CheckUpdateBoundingBox (void) |
| void | ComputeBoundingBox (void) |
| Compute the bounding box of the current index. | |
| void | ComputeDominantDirs (void) |
| Compute the dominant directions using the coverage histogram. | |
| void | init_params (float angle_increment, int max_suppress_radius, float length_ratio) |
| Assign internal parameter blocks. | |
Protected Attributes | |
| unsigned long | timestamp_ |
Private Attributes | |
| int | th_dim_ |
| double | angle_range_ |
| vcl_vector< int > | dominant_dirs_ |
| Array of dominant theta indices. | |
| vifa_bbox_sptr | bb_ |
| imp_line_table | curves_ |
| double | tmp1_ |
|
||||||||||||||||
|
Definition at line 17 of file vifa_group_pgram.cxx. |
|
|
Destructor.
Definition at line 38 of file vifa_group_pgram.cxx. |
|
|
Granularity in the angle bins.
Definition at line 36 of file vifa_group_pgram_params.h. |
|
|
Find the angle bin corresponding to an implicit_line.
Definition at line 282 of file vifa_group_pgram.cxx. |
|
|
Definition at line 76 of file vifa_group_pgram.h. |
|
|
Clear all lines from the index.
Definition at line 76 of file vifa_group_pgram.cxx. |
|
||||||||||||
|
Collect implicit line(s) from the angle array at orientations +- the given bin orientation. Wrap around the end of the array so that 0 degrees and 180 degrees are considered parallel. Definition at line 174 of file vifa_group_pgram.cxx. |
|
|
Compute the bounding box of the current index.
Definition at line 321 of file vifa_group_pgram.cxx. |
|
|
Compute the dominant directions using the coverage histogram. A dominant direction is a local maximum in the coverage distribution. Definition at line 348 of file vifa_group_pgram.cxx. |
|
|
Get Total length of parallel lines adjacent and including a bin.
Definition at line 218 of file vifa_group_pgram.cxx. |
|
|
Definition at line 90 of file vifa_group_pgram.h. |
|
|
Compute a histogram of parallel line coverage.
Definition at line 96 of file vifa_group_pgram.cxx. |
|
|
Get a populated line coverage corresponding to a given angle bin.
Definition at line 110 of file vifa_group_pgram.cxx. |
|
|
Add a set of ImplicitLines to the angular index.
Definition at line 67 of file vifa_group_pgram.cxx. |
|
|
Add an ImplicitLine to the index.
Definition at line 56 of file vifa_group_pgram.cxx. |
|
||||||||||||||||
|
Assign internal parameter blocks.
Definition at line 63 of file vifa_group_pgram_params.h. |
|
|
Relative length of sorter side of parallelogram.
Definition at line 42 of file vifa_group_pgram_params.h. |
|
|
Define a line passing through the center of the Hough ROI and at an angle correspoinding the angle bin.
Definition at line 302 of file vifa_group_pgram.cxx. |
|
|
Compute parallel line overlap on a line at the same orientation with midpoint at the center of the region of the line group.
Definition at line 164 of file vifa_group_pgram.cxx. |
|
|
Radius of maximum suppression kernel.
Definition at line 39 of file vifa_group_pgram_params.h. |
|
|
Compute the total length of parallel lines normalized by the total edge perimeter.
Definition at line 236 of file vifa_group_pgram.cxx. |
|
|
Output contents.
Definition at line 45 of file vifa_group_pgram_params.cxx. |
|
|
Check that parameters are within acceptable bounds.
Reimplemented from gevd_param_mixin. Definition at line 17 of file vifa_group_pgram_params.cxx. |
|
|
Definition at line 62 of file vifa_group_pgram.h. |
|
|
Definition at line 32 of file vifa_group_pgram.h. |
|
|
Definition at line 37 of file vifa_group_pgram.h. |
|
|
Definition at line 38 of file vifa_group_pgram.h. |
|
|
Array of dominant theta indices.
Definition at line 35 of file vifa_group_pgram.h. |
|
|
Definition at line 31 of file vifa_group_pgram.h. |
|
|
Definition at line 39 of file vifa_group_pgram.h. |
1.4.4