pyr_yape Class Reference

Pyramidal YAPE (Feature point extractor). More...

#include <yape.h>

Inheritance diagram for pyr_yape:

Inheritance graph
[legend]
Collaboration diagram for pyr_yape:

Collaboration graph
[legend]

List of all members.

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

DistortParamsdistortParams
PyrImageinternal_pim
PyrImagepscores
dir_tablepDirs [12]
int * pDirs_nb [12]
bool equalize
 Limit the maximum number of detected keypoint per level.


Detailed Description

Pyramidal YAPE (Feature point extractor).

Improve Yape to work with multi-scale pyramids (PyrImage).

Definition at line 194 of file yape.h.


Constructor & Destructor Documentation

pyr_yape::pyr_yape ( int  w,
int  h,
int  nbLev 
)

Parameters:
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.


Member Function Documentation

void pyr_yape::cmp_orientation ( PyrImage im,
keypoint points,
int  nbpts 
) [static]

int pyr_yape::detect ( PyrImage image,
keypoint points,
int  max_point_number 
)

Pyramidal feature point detection.

Detect features on the pyramid, filling the scale field of keypoints with the pyramid level.

Returns:
the detected keypoint number.

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.

Parameters:
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.


Member Data Documentation

Definition at line 214 of file yape.h.

Referenced by detect(), and pyr_yape().

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().

Definition at line 221 of file yape.h.

Referenced by pyr_yape(), select_level(), and ~pyr_yape().

Definition at line 222 of file yape.h.

Referenced by pyr_yape(), select_level(), and ~pyr_yape().

Definition at line 220 of file yape.h.

Referenced by pyr_yape(), pyramidBlurDetect(), select_level(), stat_points(), and ~pyr_yape().


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

Generated on Tue Mar 30 15:53:25 2010 for Polyora by  doxygen 1.5.9