#include <yape.h>
Public Member Functions | |
pyr_yape (int w, int h, int nbLev) | |
virtual | ~pyr_yape () |
int | pyramidBlurDetect (IplImage *im, keypoint *points, int max_point_number, PyrImage *caller_pim=0) |
Blur the given image, build a pyramid and call detect(). | |
int | detect (IplImage *im, keypoint *points, int max_point_number) |
Call pyramidBlurDetect():. | |
int | detect (PyrImage *image, keypoint *points, int max_point_number) |
Pyramidal feature point detection. | |
void | stat_points (keypoint *points, int nb_pts) |
compute and print on stdout a keypoint scale histogram. | |
void | select_level (int l) |
Static Public Member Functions | |
static void | cmp_orientation (PyrImage *im, keypoint *points, int nbpts) |
Public Attributes | |
DistortParams * | distortParams |
PyrImage * | internal_pim |
PyrImage * | pscores |
dir_table * | pDirs [12] |
int * | pDirs_nb [12] |
bool | equalize |
Limit the maximum number of detected keypoint per level. |
Improve Yape to work with multi-scale pyramids (PyrImage).
Definition at line 194 of file yape.h.
pyr_yape::pyr_yape | ( | int | w, | |
int | h, | |||
int | nbLev | |||
) |
w | width passed to Yape constructor | |
h | height passed to Yape constructor | |
nbLev | pyramid depth |
Definition at line 817 of file yape.cpp.
References yape::Dirs, yape::Dirs_nb, distortParams, equalize, PyrImage::images, internal_pim, pDirs, pDirs_nb, yape::precompute_directions(), pscores, yape::scores, and yape_max_radius.
pyr_yape::~pyr_yape | ( | ) | [virtual] |
Definition at line 838 of file yape.cpp.
References yape::Dirs, yape::Dirs_nb, internal_pim, PyrImage::nbLev, pDirs, pDirs_nb, pscores, and yape::scores.
Definition at line 996 of file yape.cpp.
References PyrImage::images, PyrImage::nbLev, keypoint::orientation, keypoint::scale, keypoint::u, and keypoint::v.
Pyramidal feature point detection.
Detect features on the pyramid, filling the scale field of keypoints with the pyramid level.
Definition at line 863 of file yape.cpp.
References PyrImage::convCoordf(), distortParams, yape::get_local_maxima(), PyrImage::images, PyrImage::nbLev, yape::pick_best_points(), yape::radius, yape::raw_detect(), yape::reserve_tmp_arrays(), select_level(), yape::subpix_refine(), keypoint::u_undist, undistort(), and keypoint::v_undist.
int pyr_yape::detect | ( | IplImage * | im, | |
keypoint * | points, | |||
int | max_point_number | |||
) | [inline] |
Call pyramidBlurDetect():.
Definition at line 203 of file yape.h.
References pyramidBlurDetect().
Referenced by kpt_tracker::detect_keypoints(), and pyramidBlurDetect().
int pyr_yape::pyramidBlurDetect | ( | IplImage * | im, | |
keypoint * | points, | |||
int | max_point_number, | |||
PyrImage * | caller_pim = 0 | |||
) |
Blur the given image, build a pyramid and call detect().
This method does the following: 1) Apply a Gaussian blur filter on the provided image, putting the result in the pyramid lowest level.
2) Build the pyramid 3) call detect() on it.
If no pyramid is given by the caller, a temporary pyramid image is created and recycled for future calls.
im | the input image. Must be 1 channel (gray levels). | |
points | an array to store keypoints. | |
max_point_number | the size of this array. | |
caller_pim | the pyramid to work on, or 0 for an internal pyramid. |
Definition at line 941 of file yape.cpp.
References PyrImage::build(), detect(), PyrImage::images, internal_pim, PyrImage::nbLev, pscores, and yape::radius.
Referenced by detect().
void pyr_yape::select_level | ( | int | l | ) |
Definition at line 853 of file yape.cpp.
References yape::Dirs, yape::Dirs_nb, PyrImage::images, pDirs, pDirs_nb, pscores, and yape::scores.
Referenced by detect().
void pyr_yape::stat_points | ( | keypoint * | points, | |
int | nb_pts | |||
) |
compute and print on stdout a keypoint scale histogram.
Definition at line 980 of file yape.cpp.
References PyrImage::nbLev, pscores, and keypoint::scale.
bool pyr_yape::equalize |
Limit the maximum number of detected keypoint per level.
Definition at line 225 of file yape.h.
Referenced by pyr_yape().
Definition at line 219 of file yape.h.
Referenced by pyr_yape(), pyramidBlurDetect(), and ~pyr_yape().
dir_table* pyr_yape::pDirs[12] |
int* pyr_yape::pDirs_nb[12] |
Definition at line 220 of file yape.h.
Referenced by pyr_yape(), pyramidBlurDetect(), select_level(), stat_points(), and ~pyr_yape().