function to compute generic edges. More...
#include <sdet_third_order_edge_det.h>
Public Types | |
enum | { PFIT_3_POINTS, PFIT_9_POINTS } |
Public Member Functions | |
sdet_third_order_edge_det () | |
sdet_third_order_edge_det (sdet_third_order_edge_det_params const ¶ms) | |
void | apply (vil_image_view< vxl_byte > const &image) |
bool | apply_color (vil_image_view< vxl_byte > const &image) |
vcl_vector< vdgl_edgel > & | edgels () |
void | line_segs (vcl_vector< vsol_line_2d_sptr > &lines) |
bool | SanityCheck () |
Checks that parameters are within acceptable bounds. | |
Static Public Member Functions | |
static bool | save_edg_ascii (const vcl_string &filename, unsigned ni, unsigned nj, const vcl_vector< vdgl_edgel > &edgels) |
save edgels in the edge map file FORMAT, output files have .edg extension. | |
Public Attributes | |
double | sigma_ |
points with gradient magnitude below thresh_*maximum_gradient_magnitude/100 will not be processed. | |
double | thresh_ |
unsigned | interp_factor_ |
unsigned | pfit_type_ |
unsigned | grad_op_ |
unsigned | conv_algo_ |
bool | adapt_thresh_ |
Protected Member Functions | |
void | InitParams (double sigma, double thresh, unsigned interp_factor, unsigned pfit_type, unsigned grad_op, unsigned conv_algo, bool adapt_thresh) |
Private Attributes | |
vcl_vector< vdgl_edgel > | edgels_ |
Friends | |
vcl_ostream & | operator<< (vcl_ostream &, const sdet_third_order_edge_det_params &dp) |
function to compute generic edges.
Definition at line 24 of file sdet_third_order_edge_det.h.
anonymous enum [inherited] |
Definition at line 20 of file sdet_third_order_edge_det_params.h.
sdet_third_order_edge_det::sdet_third_order_edge_det | ( | ) | [inline] |
Definition at line 27 of file sdet_third_order_edge_det.h.
sdet_third_order_edge_det::sdet_third_order_edge_det | ( | sdet_third_order_edge_det_params const & | params | ) | [inline] |
Definition at line 29 of file sdet_third_order_edge_det.h.
void sdet_third_order_edge_det::apply | ( | vil_image_view< vxl_byte > const & | image | ) |
Definition at line 13 of file sdet_third_order_edge_det.cxx.
bool sdet_third_order_edge_det::apply_color | ( | vil_image_view< vxl_byte > const & | image | ) |
Definition at line 248 of file sdet_third_order_edge_det.cxx.
vcl_vector<vdgl_edgel>& sdet_third_order_edge_det::edgels | ( | ) | [inline] |
Definition at line 33 of file sdet_third_order_edge_det.h.
void sdet_third_order_edge_det_params::InitParams | ( | double | sigma, |
double | thresh, | ||
unsigned | interp_factor, | ||
unsigned | pfit_type, | ||
unsigned | grad_op, | ||
unsigned | conv_algo, | ||
bool | adapt_thresh | ||
) | [protected, inherited] |
Definition at line 33 of file sdet_third_order_edge_det_params.cxx.
void sdet_third_order_edge_det::line_segs | ( | vcl_vector< vsol_line_2d_sptr > & | lines | ) |
Definition at line 640 of file sdet_third_order_edge_det.cxx.
bool sdet_third_order_edge_det_params::SanityCheck | ( | ) | [inherited] |
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.
Definition at line 55 of file sdet_third_order_edge_det_params.cxx.
bool sdet_third_order_edge_det::save_edg_ascii | ( | const vcl_string & | filename, |
unsigned | ni, | ||
unsigned | nj, | ||
const vcl_vector< vdgl_edgel > & | edgels | ||
) | [static] |
save edgels in the edge map file FORMAT, output files have .edg extension.
Definition at line 656 of file sdet_third_order_edge_det.cxx.
vcl_ostream& operator<< | ( | vcl_ostream & | os, |
const sdet_third_order_edge_det_params & | dp | ||
) | [friend, inherited] |
Definition at line 71 of file sdet_third_order_edge_det_params.cxx.
bool sdet_third_order_edge_det_params::adapt_thresh_ [inherited] |
Definition at line 41 of file sdet_third_order_edge_det_params.h.
unsigned sdet_third_order_edge_det_params::conv_algo_ [inherited] |
Definition at line 40 of file sdet_third_order_edge_det_params.h.
vcl_vector<vdgl_edgel> sdet_third_order_edge_det::edgels_ [private] |
Definition at line 40 of file sdet_third_order_edge_det.h.
unsigned sdet_third_order_edge_det_params::grad_op_ [inherited] |
Definition at line 39 of file sdet_third_order_edge_det_params.h.
unsigned sdet_third_order_edge_det_params::interp_factor_ [inherited] |
Definition at line 37 of file sdet_third_order_edge_det_params.h.
unsigned sdet_third_order_edge_det_params::pfit_type_ [inherited] |
Definition at line 38 of file sdet_third_order_edge_det_params.h.
double sdet_third_order_edge_det_params::sigma_ [inherited] |
points with gradient magnitude below thresh_*maximum_gradient_magnitude/100 will not be processed.
Definition at line 35 of file sdet_third_order_edge_det_params.h.
double sdet_third_order_edge_det_params::thresh_ [inherited] |
Definition at line 36 of file sdet_third_order_edge_det_params.h.