#include <sdet_image_mesh_params.h>
Public Member Functions | |
sdet_image_mesh_params (float smooth=1.0f, float thresh=2.0f, int min_fit_length=10, double rms_distance=0.1, double step_half_width=5.0) | |
sdet_image_mesh_params (const sdet_image_mesh_params &old_params) | |
~sdet_image_mesh_params () | |
bool | SanityCheck () |
Checks that parameters are within acceptable bounds. | |
void | ref () |
void | unref () |
int | get_references () const |
bool | is_referenced () const |
Public Attributes | |
float | smooth_ |
Gaussian sigma for edge detection. | |
float | thresh_ |
Edge detection threshold. | |
int | min_fit_length_ |
the shortest curve to fit a line | |
double | rms_distance_ |
the max rms distance error for the fit | |
double | step_half_width_ |
half the step transition width (in pixels) | |
vcl_vector< vgl_point_2d < double > > | anchor_points_ |
additional anchor points to generate 2d mesh | |
Protected Member Functions | |
void | InitParams (float smooth, float thresh, int min_fit_length, double rms_distance, double step_half_width) |
Friends | |
vcl_ostream & | operator<< (vcl_ostream &os, const sdet_image_mesh_params &imp) |
Definition at line 17 of file sdet_image_mesh_params.h.
sdet_image_mesh_params::sdet_image_mesh_params | ( | float | smooth = 1.0f , |
float | thresh = 2.0f , |
||
int | min_fit_length = 10 , |
||
double | rms_distance = 0.1 , |
||
double | step_half_width = 5.0 |
||
) |
Definition at line 25 of file sdet_image_mesh_params.cxx.
sdet_image_mesh_params::sdet_image_mesh_params | ( | const sdet_image_mesh_params & | old_params | ) |
Definition at line 15 of file sdet_image_mesh_params.cxx.
sdet_image_mesh_params::~sdet_image_mesh_params | ( | ) | [inline] |
Definition at line 26 of file sdet_image_mesh_params.h.
void sdet_image_mesh_params::InitParams | ( | float | smooth, |
float | thresh, | ||
int | min_fit_length, | ||
double | rms_distance, | ||
double | step_half_width | ||
) | [protected] |
Definition at line 33 of file sdet_image_mesh_params.cxx.
bool sdet_image_mesh_params::SanityCheck | ( | ) |
Checks that parameters are within acceptable bounds.
Definition at line 48 of file sdet_image_mesh_params.cxx.
vcl_ostream& operator<< | ( | vcl_ostream & | os, |
const sdet_image_mesh_params & | imp | ||
) | [friend] |
Definition at line 87 of file sdet_image_mesh_params.cxx.
vcl_vector<vgl_point_2d<double> > sdet_image_mesh_params::anchor_points_ |
additional anchor points to generate 2d mesh
Definition at line 43 of file sdet_image_mesh_params.h.
the shortest curve to fit a line
Definition at line 40 of file sdet_image_mesh_params.h.
the max rms distance error for the fit
Definition at line 41 of file sdet_image_mesh_params.h.
Gaussian sigma for edge detection.
Definition at line 38 of file sdet_image_mesh_params.h.
half the step transition width (in pixels)
Definition at line 42 of file sdet_image_mesh_params.h.
Edge detection threshold.
Definition at line 39 of file sdet_image_mesh_params.h.