Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
jafar::correl::Explorer< Correl > Class Template Reference

Detailed Description

template<class Correl>
class jafar::correl::Explorer< Correl >

Explorer class.

Definition at line 22 of file explorer.hpp.

#include <explorer.hpp>

List of all members.

Static Public Member Functions

static double exploreTranslation (image::Image const &im1, image::Image const &im2, int xmin, int xmax, int xstep, int ymin, int ymax, int ystep, double &xres, double &yres, float const *weightMatrix=NULL)
 This function explores translation to find the best correlation score.
static double exploreRotation (image::Image const &im1, image::Image const &im2, int amin, int amax, int astep, double &ares, float const *weightMatrix=NULL)
 This function explores rotation to find the best correlation score.
static double exploreScale (image::Image const &im1, image::Image const &im2, int smin, int smax, int sstep, double &sres, float const *weightMatrix=NULL)
 This function explores scale to find the best correlation score.

Member Function Documentation

template<class Correl >
double jafar::correl::Explorer< Correl >::exploreTranslation ( image::Image const &  im1,
image::Image const &  im2,
int  xmin,
int  xmax,
int  xstep,
int  ymin,
int  ymax,
int  ystep,
double &  xres,
double &  yres,
float const *  weightMatrix = NULL 
) [static]

This function explores translation to find the best correlation score.

Parameters:
im1the image representing the patch that is searched in im2 (you can set the ROI)
im2the image where the patch represented by im1 is searched
xmin,xmaxthe search range along x axis in im2
xstepthe search step along x axis
ymin,ymaxthe search range along x axis in im2
xstepthe search step along y axis
xres,yresthe result position in im2 of maximum correlation
weightMatrixthe optional weight matrix applied on correlation, must be of same size than im1 patch size ; if NULL not used
Returns:
score of best correlation

Definition at line 188 of file explorer.hpp.

References jafar::image::Image::getROI(), jafar::image::Image::height(), and jafar::image::Image::width().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:33 for Jafar by doxygen 1.7.6.1
LAAS-CNRS