#include <sdet_harris_detector_params.h>
Public Member Functions | |
sdet_harris_detector_params (const float sigma=1.0f, const float thresh=2.0f, const int n=1, const float percent_corners=80.0f, const float scale_factor=0.04f, const bool use_vil_harris=false) | |
sdet_harris_detector_params (const sdet_harris_detector_params &old_params) | |
~sdet_harris_detector_params () | |
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 neighborhood (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 | |
void | InitParams (float sigma, float thresh, int n, float percent_corners, float scale_factor, bool use_vil_harris) |
Friends | |
vcl_ostream & | operator<< (vcl_ostream &, const sdet_harris_detector_params &dp) |
Definition at line 15 of file sdet_harris_detector_params.h.
sdet_harris_detector_params::sdet_harris_detector_params | ( | const float | sigma = 1.0f , |
const float | thresh = 2.0f , |
||
const int | n = 1 , |
||
const float | percent_corners = 80.0f , |
||
const float | scale_factor = 0.04f , |
||
const bool | use_vil_harris = false |
||
) |
Definition at line 28 of file sdet_harris_detector_params.cxx.
sdet_harris_detector_params::sdet_harris_detector_params | ( | const sdet_harris_detector_params & | old_params | ) |
Definition at line 15 of file sdet_harris_detector_params.cxx.
sdet_harris_detector_params::~sdet_harris_detector_params | ( | ) | [inline] |
Definition at line 26 of file sdet_harris_detector_params.h.
void sdet_harris_detector_params::InitParams | ( | float | sigma, |
float | thresh, | ||
int | n, | ||
float | percent_corners, | ||
float | scale_factor, | ||
bool | use_vil_harris | ||
) | [protected] |
Definition at line 39 of file sdet_harris_detector_params.cxx.
bool sdet_harris_detector_params::SanityCheck | ( | ) |
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.
vcl_ostream& operator<< | ( | vcl_ostream & | os, |
const sdet_harris_detector_params & | dp | ||
) | [friend] |
Definition at line 97 of file sdet_harris_detector_params.cxx.
size of the gradient matrix neighborhood (2n+1)x(2n+1)
Definition at line 44 of file sdet_harris_detector_params.h.
maximum of corners as a percent of total
Definition at line 45 of file sdet_harris_detector_params.h.
Harris trace weight.
Definition at line 46 of file sdet_harris_detector_params.h.
sigma of the Gaussian smoothing kernel
Definition at line 42 of file sdet_harris_detector_params.h.
threshold for weak corners
Definition at line 43 of file sdet_harris_detector_params.h.
use vil/algo/vil_corners for strength
Definition at line 47 of file sdet_harris_detector_params.h.