Public Member Functions | Public Attributes | Protected Member Functions | Friends
sdet_detector_params Class Reference

#include <sdet_detector_params.h>

Inheritance diagram for sdet_detector_params:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 sdet_detector_params (float smooth_sigma=1.0f, float noise_w=-0.5f, float noise_m=1.5f, bool automatic_t=false, int aggressive_jc=1, int minl=6, 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=false, bool follow_b=true, bool peaks_only=false, bool valleys_only=false, float ang=10.0f, float sep=1.f, int min_corner_len=5, int cyc=2, int ndim=2)
 sdet_detector_params (const sdet_detector_params &old_params)
 ~sdet_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)

Public Attributes

float smooth
 Smoothing kernel sigma.
float noise_weight
 The weight between sensor noise and texture noise.
float noise_multiplier
 The overal noise threshold scale factor.
bool automatic_threshold
 Determine the threshold values from image.
int aggressive_junction_closure
 Close junctions aggressively.
int minLength
 minimum chain length
float contourFactor
 Threshold along contours.
float junctionFactor
 Threshold at junctions.
float filterFactor
 ratio of sensor to texture noise
bool junctionp
 recover missing junctions
float minJump
 change in strength at junction
float maxGap
 Bridge small gaps up to max_gap across.
bool spacingp
 equalize spacing?
bool borderp
 insert virtual border for closure?
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
 smallest angle at corner
float separation
 |mean1-mean2|/sigma
int min_corner_length
 min length to find corners
int cycle
 number of corners in a cycle
int ndimension
 spatial dimension of edgel chains.

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)

Friends

vcl_ostream & operator<< (vcl_ostream &, const sdet_detector_params &dp)

Detailed Description

Definition at line 99 of file sdet_detector_params.h.


Constructor & Destructor Documentation

sdet_detector_params::sdet_detector_params ( float  smooth_sigma = 1.0f,
float  noise_w = -0.5f,
float  noise_m = 1.5f,
bool  automatic_t = false,
int  aggressive_jc = 1,
int  minl = 6,
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 = false,
bool  follow_b = true,
bool  peaks_only = false,
bool  valleys_only = false,
float  ang = 10.0f,
float  sep = 1.f,
int  min_corner_len = 5,
int  cyc = 2,
int  ndim = 2 
)

Definition at line 24 of file sdet_detector_params.cxx.

sdet_detector_params::sdet_detector_params ( const sdet_detector_params old_params)

Definition at line 12 of file sdet_detector_params.cxx.

sdet_detector_params::~sdet_detector_params ( ) [inline]

Definition at line 115 of file sdet_detector_params.h.


Member Function Documentation

void sdet_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 44 of file sdet_detector_params.cxx.

bool sdet_detector_params::SanityCheck ( )

Checks that parameters are within acceptable bounds.

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

Definition at line 125 of file sdet_detector_params.cxx.

void sdet_detector_params::set_aggressive_junction_closure ( int  aggressive_junction_closure)

Definition at line 109 of file sdet_detector_params.cxx.

void sdet_detector_params::set_automatic_threshold ( bool  automatic_threshold)

Definition at line 104 of file sdet_detector_params.cxx.

void sdet_detector_params::set_close_borders ( bool  close_borders)

Definition at line 114 of file sdet_detector_params.cxx.

void sdet_detector_params::set_noise_multiplier ( float  noise_multiplier)

Definition at line 99 of file sdet_detector_params.cxx.

void sdet_detector_params::set_noise_weight ( float  noise_weight)

Definition at line 94 of file sdet_detector_params.cxx.


Friends And Related Function Documentation

vcl_ostream& operator<< ( vcl_ostream &  os,
const sdet_detector_params dp 
) [friend]

Definition at line 235 of file sdet_detector_params.cxx.


Member Data Documentation

Close junctions aggressively.

Definition at line 148 of file sdet_detector_params.h.

Determine the threshold values from image.

Definition at line 147 of file sdet_detector_params.h.

insert virtual border for closure?

Definition at line 157 of file sdet_detector_params.h.

Threshold along contours.

Definition at line 150 of file sdet_detector_params.h.

smallest angle at corner

Definition at line 166 of file sdet_detector_params.h.

number of corners in a cycle

Definition at line 169 of file sdet_detector_params.h.

ratio of sensor to texture noise

Reimplemented in sdet_detector.

Definition at line 152 of file sdet_detector_params.h.

Threshold at junctions.

Definition at line 151 of file sdet_detector_params.h.

recover missing junctions

Definition at line 153 of file sdet_detector_params.h.

Bridge small gaps up to max_gap across.

Definition at line 155 of file sdet_detector_params.h.

min length to find corners

Definition at line 168 of file sdet_detector_params.h.

change in strength at junction

Definition at line 154 of file sdet_detector_params.h.

minimum chain length

Definition at line 149 of file sdet_detector_params.h.

spatial dimension of edgel chains.

Definition at line 170 of file sdet_detector_params.h.

The overal noise threshold scale factor.

Definition at line 146 of file sdet_detector_params.h.

The weight between sensor noise and texture noise.

Definition at line 145 of file sdet_detector_params.h.

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

Definition at line 161 of file sdet_detector_params.h.

|mean1-mean2|/sigma

Definition at line 167 of file sdet_detector_params.h.

Smoothing kernel sigma.

Definition at line 144 of file sdet_detector_params.h.

equalize spacing?

Definition at line 156 of file sdet_detector_params.h.

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

Definition at line 162 of file sdet_detector_params.h.


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