#include <gevd_region_proc_params.h>
Public Member Functions | |
gevd_region_proc_params (float expand_scale=2.0f, float burt_adelson_factor=.4f, bool debug=false, bool verbose=false, gevd_detector_params const &=gevd_detector_params()) | |
gevd_region_proc_params (const gevd_region_proc_params &old_params) | |
~gevd_region_proc_params () | |
bool | SanityCheck () |
Checks that parameters are within acceptable bounds. | |
bool | Valid () const |
const char * | GetErrorMsg () const |
void | SetErrorMsg (const char *msg) |
Set the error message for this parameter block. | |
Public Attributes | |
float | expand_scale_ |
the scale factor for image expansion | |
float | burt_adelson_factor_ |
the "sigma" of the interpolating kernel | |
bool | debug_ |
Carry out debug processing. | |
bool | verbose_ |
Print detailed output. | |
gevd_detector_params | dp_ |
parameters associated with step and fold detection | |
Protected Member Functions | |
void | InitParams (float expand_scale, float burt_adelson_factor, bool debug, bool verbose, const gevd_detector_params &dp) |
Friends | |
vcl_ostream & | operator<< (vcl_ostream &, const gevd_region_proc_params &rpp) |
Definition at line 18 of file gevd_region_proc_params.h.
gevd_region_proc_params::gevd_region_proc_params | ( | float | expand_scale = 2.0f , |
float | burt_adelson_factor = .4f , |
||
bool | debug = false , |
||
bool | verbose = false , |
||
gevd_detector_params const & | dp = gevd_detector_params() |
||
) |
Definition at line 27 of file gevd_region_proc_params.cxx.
gevd_region_proc_params::gevd_region_proc_params | ( | const gevd_region_proc_params & | old_params | ) |
Definition at line 16 of file gevd_region_proc_params.cxx.
gevd_region_proc_params::~gevd_region_proc_params | ( | ) | [inline] |
Definition at line 28 of file gevd_region_proc_params.h.
const char* gevd_param_mixin::GetErrorMsg | ( | ) | const [inline, inherited] |
Definition at line 50 of file gevd_param_mixin.h.
void gevd_region_proc_params::InitParams | ( | float | expand_scale, |
float | burt_adelson_factor, | ||
bool | debug, | ||
bool | verbose, | ||
const gevd_detector_params & | dp | ||
) | [protected] |
Definition at line 37 of file gevd_region_proc_params.cxx.
bool gevd_region_proc_params::SanityCheck | ( | ) | [virtual] |
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.
Reimplemented from gevd_param_mixin.
Definition at line 56 of file gevd_region_proc_params.cxx.
void gevd_param_mixin::SetErrorMsg | ( | const char * | msg | ) | [inherited] |
Set the error message for this parameter block.
If the message is not empty, this sets the valid flag to be false. An empty message resets the valid flag to be true.
Definition at line 47 of file gevd_param_mixin.cxx.
bool gevd_param_mixin::Valid | ( | ) | const [inline, inherited] |
Definition at line 49 of file gevd_param_mixin.h.
vcl_ostream& operator<< | ( | vcl_ostream & | , |
const gevd_region_proc_params & | rpp | ||
) | [friend] |
Definition at line 78 of file gevd_region_proc_params.cxx.
the "sigma" of the interpolating kernel
Reimplemented in gevd_region_proc.
Definition at line 44 of file gevd_region_proc_params.h.
Carry out debug processing.
Reimplemented in gevd_region_proc.
Definition at line 45 of file gevd_region_proc_params.h.
parameters associated with step and fold detection
Definition at line 47 of file gevd_region_proc_params.h.
the scale factor for image expansion
Reimplemented in gevd_region_proc.
Definition at line 43 of file gevd_region_proc_params.h.
Print detailed output.
Definition at line 46 of file gevd_region_proc_params.h.