Home
last modified time | relevance | path

Searched refs:block_hists (Results 1 – 4 of 4) sorted by relevance

/external/opencv3/modules/cudaobjdetect/src/cuda/
Dhog.cu119 … const PtrStepb qangle, float scale, float* block_hists) in compute_hists_kernel_many_blocks() argument
185 float* block_hist = block_hists + (blockIdx.y * img_block_width + in compute_hists_kernel_many_blocks()
197 const PtrStepSzb& qangle, float sigma, float* block_hists) in compute_hists() argument
219 img_block_width, grad, qangle, scale, block_hists); in compute_hists()
265 float* block_hists, float threshold) in normalize_hists_kernel_many_blocks() argument
270 float* hist = block_hists + (blockIdx.y * img_block_width + in normalize_hists_kernel_many_blocks()
296 int height, int width, float* block_hists, float threshold) in normalize_hists() argument
309 …y_blocks<32, nblocks><<<grid, threads>>>(block_hist_size, img_block_width, block_hists, threshold); in normalize_hists()
311 …y_blocks<64, nblocks><<<grid, threads>>>(block_hist_size, img_block_width, block_hists, threshold); in normalize_hists()
313 …y_blocks<64, nblocks><<<grid, threads>>>(block_hist_size, img_block_width, block_hists, threshold); in normalize_hists()
[all …]
/external/opencv3/modules/cudaobjdetect/src/
Dhog.cpp63 const cv::cuda::PtrStepSzb& qangle, float sigma, float* block_hists);
66 int height, int width, float* block_hists, float threshold);
70 int width, float* block_hists, float* coefs, float free_coef,
74 … int win_stride_y, int win_stride_x, int height, int width, float* block_hists,
78 … int win_stride_y, int win_stride_x, int height, int width, float* block_hists,
81 … int win_stride_y, int win_stride_x, int height, int width, float* block_hists,
173 void computeBlockHistograms(const GpuMat& img, GpuMat& block_hists);
299 GpuMat block_hists = pool.getBuffer(1, getTotalHistSize(img.size()), CV_32FC1); in detect() local
300 computeBlockHistograms(img, block_hists); in detect()
312 block_hists.ptr<float>(), in detect()
[all …]
/external/opencv3/modules/objdetect/src/opencl/
Dobjdetect_hog.cl72 __global float* block_hists, __local float* smem)
150 __global float* block_hist = block_hists +
159 __kernel void normalize_hists_36_kernel(__global float* block_hists,
168 float elem = block_hists[gid];
204 block_hists[gid] = elem / (sqrt(sum) + 1e-3f);
255 __global float* block_hists, const float threshold, __local float *squares)
261 __global float* hist = block_hists + (gidY * img_block_width + gidX) *
295 __global const float * block_hists, __global const float* coefs,
302 __global const float* hist = block_hists + (gidY * win_block_stride_y *
368 __global const float * block_hists, __global const float* coefs,
[all …]
/external/opencv3/modules/objdetect/src/
Dhog.cpp1131 … UMat grad, UMat qangle, UMat gauss_w_lut, UMat block_hists, size_t block_hist_size) in ocl_compute_hists() argument
1176 idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(block_hists)); in ocl_compute_hists()
1191 int height, int width, UMat block_hists, float threshold) in ocl_normalize_hists() argument
1250 idx = k.set(idx, ocl::KernelArg::PtrReadWrite(block_hists)); in ocl_normalize_hists()
1258 int height, int width, UMat block_hists, UMat descriptors, in ocl_extract_descrs_by_rows() argument
1285 idx = k.set(idx, ocl::KernelArg::PtrReadOnly(block_hists)); in ocl_extract_descrs_by_rows()
1292 int height, int width, UMat block_hists, UMat descriptors, in ocl_extract_descrs_by_cols() argument
1320 idx = k.set(idx, ocl::KernelArg::PtrReadOnly(block_hists)); in ocl_extract_descrs_by_cols()
1338 UMat block_hists(1, static_cast<int>(block_hist_size * blocks_per_img.area()) + 256, CV_32F); in ocl_compute() local
1359 effect_size.width, grad, qangle, gauss_w_lut, block_hists, block_hist_size)) in ocl_compute()
[all …]