Searched refs:blocks_per_win (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/cudaobjdetect/src/ |
D | hog.cpp | 256 Size blocks_per_win = numPartsWithin(win_size_, block_size_, block_stride_); in setSVMDetector() local 258 for (int i = 0; i < blocks_per_win.height; ++i) in setSVMDetector() 260 for (int j = 0; j < blocks_per_win.width; ++j) in setSVMDetector() 262 … const float* src = detector.ptr<float>() + (j * blocks_per_win.height + i) * block_hist_size; in setSVMDetector() 263 … float* dst = &detector_reordered[0] + (i * blocks_per_win.width + j) * block_hist_size; in setSVMDetector() 454 Size blocks_per_win = numPartsWithin(win_size_, block_size_, block_stride_); in compute() local 457 …_descriptors.create(wins_per_img.area(), static_cast<int>(blocks_per_win.area() * block_hist_size)… in compute() 492 cv::Size blocks_per_win = numPartsWithin(win_size_, block_size_, block_stride_); in computeBlockHistograms() local 493 …stants(nbins_, block_stride_.width, block_stride_.height, blocks_per_win.width, blocks_per_win.hei… in computeBlockHistograms()
|
/external/opencv3/modules/objdetect/src/ |
D | hog.cpp | 1366 Size blocks_per_win = numPartsWithin(winSize, blockSize, blockStride); in ocl_compute() local 1369 int descr_size = blocks_per_win.area()*(int)block_hist_size; in ocl_compute() 1370 int descr_width = (int)block_hist_size*blocks_per_win.width; in ocl_compute() 1372 …UMat descriptors(wins_per_img.area(), static_cast<int>(blocks_per_win.area() * block_hist_size), C… in ocl_compute() 1384 …ock_hists, descriptors, (int)block_hist_size, descr_size, blocks_per_win.width, blocks_per_win.hei… in ocl_compute() 1768 Size blocks_per_win = numPartsWithin(winSize, blockSize, blockStride); in ocl_detect() local 1770 Size descr_size((int)block_hist_size*blocks_per_win.width, blocks_per_win.height); in ocl_detect()
|