Container holding parameters for grouping polygons. More...
#include <vifa_group_pgram_params.h>
Public Member Functions | |
float | angle_increment () const |
Granularity in the angle bins. | |
int | max_suppress_radius () const |
Radius of maximum suppression kernel. | |
float | length_ratio () const |
Relative length of sorter side of parallellogram. | |
vifa_group_pgram_params (float angle_increment=5.0f, int max_suppress_radius=2, float length_ratio=.1f) | |
Default constructor. | |
vifa_group_pgram_params (const vifa_group_pgram_params &old_params) | |
Copy constructor. | |
bool | SanityCheck () |
Check that parameters are within acceptable bounds. | |
void | print_info (void) |
Output contents. | |
bool | Valid () const |
const char * | GetErrorMsg () const |
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 | |
void | init_params (float angle_increment, int max_suppress_radius, float length_ratio) |
Assign internal parameter blocks. | |
Protected Attributes | |
unsigned long | timestamp_ |
Private Attributes | |
float | angle_increment_ |
int | max_suppress_radius_ |
float | length_ratio_ |
Container holding parameters for grouping polygons.
Definition at line 26 of file vifa_group_pgram_params.h.
vifa_group_pgram_params::vifa_group_pgram_params | ( | float | angle_increment = 5.0f , |
int | max_suppress_radius = 2 , |
||
float | length_ratio = .1f |
||
) | [inline] |
Default constructor.
Definition at line 45 of file vifa_group_pgram_params.h.
vifa_group_pgram_params::vifa_group_pgram_params | ( | const vifa_group_pgram_params & | old_params | ) |
Copy constructor.
Definition at line 10 of file vifa_group_pgram_params.cxx.
float vifa_group_pgram_params::angle_increment | ( | ) | const [inline] |
Granularity in the angle bins.
Definition at line 36 of file vifa_group_pgram_params.h.
void vifa_group_pgram_params::init_params | ( | float | angle_increment, |
int | max_suppress_radius, | ||
float | length_ratio | ||
) | [inline, protected] |
Assign internal parameter blocks.
Definition at line 63 of file vifa_group_pgram_params.h.
float vifa_group_pgram_params::length_ratio | ( | ) | const [inline] |
Relative length of sorter side of parallellogram.
Definition at line 42 of file vifa_group_pgram_params.h.
int vifa_group_pgram_params::max_suppress_radius | ( | ) | const [inline] |
Radius of maximum suppression kernel.
Definition at line 39 of file vifa_group_pgram_params.h.
void vifa_group_pgram_params::print_info | ( | void | ) |
Output contents.
Definition at line 47 of file vifa_group_pgram_params.cxx.
bool vifa_group_pgram_params::SanityCheck | ( | ) | [virtual] |
Check that parameters are within acceptable bounds.
Reimplemented from gevd_param_mixin.
Definition at line 19 of file vifa_group_pgram_params.cxx.
float vifa_group_pgram_params::angle_increment_ [private] |
Definition at line 30 of file vifa_group_pgram_params.h.
float vifa_group_pgram_params::length_ratio_ [private] |
Definition at line 32 of file vifa_group_pgram_params.h.
int vifa_group_pgram_params::max_suppress_radius_ [private] |
Definition at line 31 of file vifa_group_pgram_params.h.