Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | Friends
sdet_third_order_edge_det Class Reference

function to compute generic edges. More...

#include <sdet_third_order_edge_det.h>

Inheritance diagram for sdet_third_order_edge_det:
Inheritance graph
[legend]

List of all members.

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 &params)
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_edgeledgels_

Friends

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

Detailed Description

function to compute generic edges.

Definition at line 24 of file sdet_third_order_edge_det.h.


Member Enumeration Documentation

anonymous enum [inherited]
Enumerator:
PFIT_3_POINTS 
PFIT_9_POINTS 

Definition at line 20 of file sdet_third_order_edge_det_params.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Friends And Related Function Documentation

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.


Member Data Documentation

Definition at line 41 of file sdet_third_order_edge_det_params.h.

Definition at line 40 of file sdet_third_order_edge_det_params.h.

Definition at line 40 of file sdet_third_order_edge_det.h.

Definition at line 39 of file sdet_third_order_edge_det_params.h.

Definition at line 37 of file sdet_third_order_edge_det_params.h.

Definition at line 38 of file sdet_third_order_edge_det_params.h.

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.

Definition at line 36 of file sdet_third_order_edge_det_params.h.


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