Home
last modified time | relevance | path

Searched refs:blocks_per_img (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/objdetect/src/
Dhog.cpp122 cv::Size blocks_per_img = numPartsWithin(winSize, blockSize, blockStride); in setSVMDetector() local
124 for (int i = 0; i < blocks_per_img.height; ++i) in setSVMDetector()
125 for (int j = 0; j < blocks_per_img.width; ++j) in setSVMDetector()
127 const float *src = &svmDetector[0] + (j * blocks_per_img.height + i) * block_hist_size; in setSVMDetector()
128 … float *dst = detector_reordered.ptr<float>() + (i * blocks_per_img.width + j) * block_hist_size; in setSVMDetector()
1337 const Size blocks_per_img = numPartsWithin(imgSize, blockSize, blockStride); in ocl_compute() local
1338 UMat block_hists(1, static_cast<int>(block_hist_size * blocks_per_img.area()) + 256, CV_32F); in ocl_compute()
1739 const Size blocks_per_img = numPartsWithin(imgSize, blockSize, blockStride); in ocl_detect() local
1740 UMat block_hists(1, static_cast<int>(block_hist_size * blocks_per_img.area()) + 256, CV_32F); in ocl_detect()
/external/opencv3/modules/cudaobjdetect/src/
Dhog.cpp486 Size blocks_per_img = numPartsWithin(img_size, block_size_, block_stride_); in getTotalHistSize() local
487 return static_cast<int>(block_hist_size * blocks_per_img.area()); in getTotalHistSize()