added support of gamama_correction parameter into gpu::HOGDescriptor, updated tests

This commit is contained in:
Alexey Spizhevoy
2010-12-03 11:11:44 +00:00
parent 90cce3a2ba
commit df48ad76b0
5 changed files with 84 additions and 46 deletions

View File

@@ -1076,6 +1076,7 @@ namespace cv
double win_sigma;
double threshold_L2hys;
int nlevels;
bool gamma_correction;
protected:
void computeBlockHistograms(const GpuMat& img);
@@ -1084,8 +1085,6 @@ namespace cv
static int numPartsWithin(int size, int part_size, int stride);
static Size numPartsWithin(Size size, Size part_size, Size stride);
bool gamma_correction;
// Coefficients of the separating plane
float free_coef;
GpuMat detector;