Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

sdet_harris_detector Class Reference

#include <sdet_harris_detector.h>

Inheritance diagram for sdet_harris_detector:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 43 of file sdet_harris_detector.h.

Public Member Functions

 sdet_harris_detector (sdet_harris_detector_params &rpp)
 constructor from a parameter block (the only way).
 ~sdet_harris_detector ()
 Default Destructor.
void set_image (vil1_image const &image)
 Set the image to be processed.
void set_image_resource (vil_image_resource_sptr const &image)
 Set the image resource to be processed.
vcl_vector< vsol_point_2d_sptr > & get_points ()
void extract_corners ()
 extract a set of vsol_point_2d(s).
void clear ()
 Clear internal storage.
bool SanityCheck ()
 Checks that parameters are within acceptable bounds.

Public Attributes

float sigma_
 sigma of the Gaussian smoothing kernel
float thresh_
 threshold for weak corners
int n_
 size of the gradient matrix neighorhood (2n+1)x(2n+1)
float percent_corners_
 maximum of corners as a percent of total
float scale_factor_
 Harris trace weight.
bool use_vil_harris_
 use vil/algo/vil_corners for strength

Protected Member Functions

bool extract_corners_vil1 (vcl_vector< float > &x_pos, vcl_vector< float > &y_pos, vcl_vector< float > &val)
bool extract_corners_vil (vcl_vector< float > &x_pos, vcl_vector< float > &y_pos, vcl_vector< float > &val)
void InitParams (float sigma, float thresh, int n, float percent_corners, float scale_factor, bool use_vil_harris)

Protected Attributes

bool points_valid_
bool use_vil_image_
vil1_image image_
vil_image_resource_sptr vimage_
vcl_vector< vsol_point_2d_sptrpoints_

Friends

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


Constructor & Destructor Documentation

sdet_harris_detector::sdet_harris_detector sdet_harris_detector_params rpp  ) 
 

constructor from a parameter block (the only way).

Definition at line 46 of file sdet_harris_detector.cxx.

sdet_harris_detector::~sdet_harris_detector  ) 
 

Default Destructor.

Definition at line 56 of file sdet_harris_detector.cxx.


Member Function Documentation

void sdet_harris_detector::clear  ) 
 

Clear internal storage.

Definition at line 201 of file sdet_harris_detector.cxx.

void sdet_harris_detector::extract_corners  ) 
 

extract a set of vsol_point_2d(s).

Definition at line 155 of file sdet_harris_detector.cxx.

bool sdet_harris_detector::extract_corners_vil vcl_vector< float > &  x_pos,
vcl_vector< float > &  y_pos,
vcl_vector< float > &  val
[protected]
 

Definition at line 119 of file sdet_harris_detector.cxx.

bool sdet_harris_detector::extract_corners_vil1 vcl_vector< float > &  x_pos,
vcl_vector< float > &  y_pos,
vcl_vector< float > &  val
[protected]
 

Definition at line 92 of file sdet_harris_detector.cxx.

vcl_vector<vsol_point_2d_sptr>& sdet_harris_detector::get_points  )  [inline]
 

Definition at line 54 of file sdet_harris_detector.h.

void sdet_harris_detector_params::InitParams float  sigma,
float  thresh,
int  n,
float  percent_corners,
float  scale_factor,
bool  use_vil_harris
[protected, inherited]
 

Definition at line 39 of file sdet_harris_detector_params.cxx.

bool sdet_harris_detector_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 61 of file sdet_harris_detector_params.cxx.

void sdet_harris_detector::set_image vil1_image const &  image  ) 
 

Set the image to be processed.

Definition at line 63 of file sdet_harris_detector.cxx.

void sdet_harris_detector::set_image_resource vil_image_resource_sptr const &  image  ) 
 

Set the image resource to be processed.

Definition at line 78 of file sdet_harris_detector.cxx.


Friends And Related Function Documentation

vcl_ostream& operator<< vcl_ostream &  os,
const sdet_harris_detector_params dp
[friend, inherited]
 

Definition at line 97 of file sdet_harris_detector_params.cxx.


Member Data Documentation

vil1_image sdet_harris_detector::image_ [protected]
 

Definition at line 72 of file sdet_harris_detector.h.

int sdet_harris_detector_params::n_ [inherited]
 

size of the gradient matrix neighorhood (2n+1)x(2n+1)

Definition at line 44 of file sdet_harris_detector_params.h.

float sdet_harris_detector_params::percent_corners_ [inherited]
 

maximum of corners as a percent of total

Definition at line 45 of file sdet_harris_detector_params.h.

vcl_vector<vsol_point_2d_sptr> sdet_harris_detector::points_ [protected]
 

Definition at line 74 of file sdet_harris_detector.h.

bool sdet_harris_detector::points_valid_ [protected]
 

Definition at line 70 of file sdet_harris_detector.h.

float sdet_harris_detector_params::scale_factor_ [inherited]
 

Harris trace weight.

Definition at line 46 of file sdet_harris_detector_params.h.

float sdet_harris_detector_params::sigma_ [inherited]
 

sigma of the Gaussian smoothing kernel

Definition at line 42 of file sdet_harris_detector_params.h.

float sdet_harris_detector_params::thresh_ [inherited]
 

threshold for weak corners

Definition at line 43 of file sdet_harris_detector_params.h.

bool sdet_harris_detector_params::use_vil_harris_ [inherited]
 

use vil/algo/vil_corners for strength

Definition at line 47 of file sdet_harris_detector_params.h.

bool sdet_harris_detector::use_vil_image_ [protected]
 

Definition at line 71 of file sdet_harris_detector.h.

vil_image_resource_sptr sdet_harris_detector::vimage_ [protected]
 

Definition at line 73 of file sdet_harris_detector.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:52:47 2008 for contrib/brl/bseg/sdet by  doxygen 1.4.4