cv::PatchGenerator Class Reference

#include <cvaux.hpp>

List of all members.

Public Member Functions

 PatchGenerator ()
 PatchGenerator (double _backgroundMin, double _backgroundMax, double _noiseRange, bool _randomBlur=true, double _lambdaMin=0.6, double _lambdaMax=1.5, double _thetaMin=-CV_PI, double _thetaMax=CV_PI, double _phiMin=-CV_PI, double _phiMax=CV_PI)
void operator() (const Mat &image, Point2f pt, Mat &patch, Size patchSize, RNG &rng) const
void operator() (const Mat &image, const Mat &transform, Mat &patch, Size patchSize, RNG &rng) const
void warpWholeImage (const Mat &image, Mat &matT, Mat &buf, Mat &warped, int border, RNG &rng) const
void generateRandomTransform (Point2f srcCenter, Point2f dstCenter, Mat &transform, RNG &rng, bool inverse=false) const

Public Attributes

double backgroundMin
double backgroundMax
double noiseRange
bool randomBlur
double lambdaMin
double lambdaMax
double thetaMin
double thetaMax
double phiMin
double phiMax

Constructor & Destructor Documentation

cv::PatchGenerator::PatchGenerator (  )
cv::PatchGenerator::PatchGenerator ( double  _backgroundMin,
double  _backgroundMax,
double  _noiseRange,
bool  _randomBlur = true,
double  _lambdaMin = 0.6,
double  _lambdaMax = 1.5,
double  _thetaMin = -CV_PI,
double  _thetaMax = CV_PI,
double  _phiMin = -CV_PI,
double  _phiMax = CV_PI 
)

Member Function Documentation

void cv::PatchGenerator::operator() ( const Mat image,
Point2f  pt,
Mat patch,
Size  patchSize,
RNG rng 
) const
void cv::PatchGenerator::operator() ( const Mat image,
const Mat transform,
Mat patch,
Size  patchSize,
RNG rng 
) const
void cv::PatchGenerator::warpWholeImage ( const Mat image,
Mat matT,
Mat buf,
Mat warped,
int  border,
RNG rng 
) const
void cv::PatchGenerator::generateRandomTransform ( Point2f  srcCenter,
Point2f  dstCenter,
Mat transform,
RNG rng,
bool  inverse = false 
) const

Member Data Documentation


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