Public Member Functions | Public Attributes | Protected Member Functions
gevd_detector_params Class Reference

#include <gevd_detector_params.h>

Inheritance diagram for gevd_detector_params:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 gevd_detector_params (float smooth_sigma=1.0f, float noise_w=-0.5f, float noise_m=2.0f, bool automatic_t=false, int aggressive_jc=1, int minl=4, float maxgp=4.0f, float minjmp=0.1f, float contour_f=2.0f, float junction_f=1.0f, bool recover_j=true, bool equal_spacing=true, bool follow_b=true, bool peaks_only=false, bool valleys_only=false, float ang=10.0f, float sep=1.0f, int min_corner_len=5, int cyc=2, int ndim=2)
 gevd_detector_params (const gevd_detector_params &old_params)
 ~gevd_detector_params ()
bool SanityCheck ()
 Checks that parameters are within acceptable bounds.
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 Valid () const
const char * GetErrorMsg () const
void SetErrorMsg (const char *msg)
 Set the error message for this parameter block.

Public Attributes

float smooth
float noise_weight
 The weight between sensor noise and texture noise.
float noise_multiplier
bool automatic_threshold
int aggressive_junction_closure
 Close junctions aggressively.
int minLength
float contourFactor
 Threshold along contours.
float junctionFactor
 Threshold at junctions.
float filterFactor
bool junctionp
float minJump
float maxGap
bool spacingp
bool borderp
bool peaks_only
 Only return peaks, d^2I/dn^2 < 0, n is normal dir to ridge.
bool valleys_only
 Only return valeys, d^2I/dn^2 > 0.
float corner_angle
float separation
int min_corner_length
int cycle
int ndimension

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)

Detailed Description

Definition at line 65 of file gevd_detector_params.h.


Constructor & Destructor Documentation

gevd_detector_params::gevd_detector_params ( float  smooth_sigma = 1.0f,
float  noise_w = -0.5f,
float  noise_m = 2.0f,
bool  automatic_t = false,
int  aggressive_jc = 1,
int  minl = 4,
float  maxgp = 4.0f,
float  minjmp = 0.1f,
float  contour_f = 2.0f,
float  junction_f = 1.0f,
bool  recover_j = true,
bool  equal_spacing = true,
bool  follow_b = true,
bool  peaks_only = false,
bool  valleys_only = false,
float  ang = 10.0f,
float  sep = 1.0f,
int  min_corner_len = 5,
int  cyc = 2,
int  ndim = 2 
)

Definition at line 23 of file gevd_detector_params.cxx.

gevd_detector_params::gevd_detector_params ( const gevd_detector_params old_params)

Definition at line 11 of file gevd_detector_params.cxx.

gevd_detector_params::~gevd_detector_params ( ) [inline]

Definition at line 82 of file gevd_detector_params.h.


Member Function Documentation

const char* gevd_param_mixin::GetErrorMsg ( ) const [inline, inherited]

Definition at line 50 of file gevd_param_mixin.h.

void gevd_detector_params::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 
) [protected]

Definition at line 43 of file gevd_detector_params.cxx.

bool gevd_detector_params::SanityCheck ( ) [virtual]

Checks that parameters are within acceptable bounds.

This method is always called after a parameter modifier has changed the prms.

Reimplemented from gevd_param_mixin.

Definition at line 123 of file gevd_detector_params.cxx.

void gevd_detector_params::set_aggressive_junction_closure ( int  aggressive_junction_closure)

Definition at line 107 of file gevd_detector_params.cxx.

void gevd_detector_params::set_automatic_threshold ( bool  automatic_threshold)

Definition at line 102 of file gevd_detector_params.cxx.

void gevd_detector_params::set_close_borders ( bool  close_borders)

Definition at line 112 of file gevd_detector_params.cxx.

void gevd_detector_params::set_noise_multiplier ( float  noise_multiplier)

Definition at line 97 of file gevd_detector_params.cxx.

void gevd_detector_params::set_noise_weight ( float  noise_weight)

Definition at line 92 of file gevd_detector_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.


Member Data Documentation

Close junctions aggressively.

Definition at line 115 of file gevd_detector_params.h.

Definition at line 114 of file gevd_detector_params.h.

Definition at line 124 of file gevd_detector_params.h.

Threshold along contours.

Definition at line 117 of file gevd_detector_params.h.

Definition at line 133 of file gevd_detector_params.h.

Definition at line 136 of file gevd_detector_params.h.

Reimplemented in gevd_detector.

Definition at line 119 of file gevd_detector_params.h.

Threshold at junctions.

Definition at line 118 of file gevd_detector_params.h.

Definition at line 120 of file gevd_detector_params.h.

Definition at line 122 of file gevd_detector_params.h.

Definition at line 135 of file gevd_detector_params.h.

Definition at line 121 of file gevd_detector_params.h.

Definition at line 116 of file gevd_detector_params.h.

Definition at line 137 of file gevd_detector_params.h.

Definition at line 113 of file gevd_detector_params.h.

The weight between sensor noise and texture noise.

Definition at line 112 of file gevd_detector_params.h.

Only return peaks, d^2I/dn^2 < 0, n is normal dir to ridge.

Definition at line 128 of file gevd_detector_params.h.

Definition at line 134 of file gevd_detector_params.h.

Definition at line 111 of file gevd_detector_params.h.

Definition at line 123 of file gevd_detector_params.h.

Only return valeys, d^2I/dn^2 > 0.

Definition at line 129 of file gevd_detector_params.h.


The documentation for this class was generated from the following files: