added getDescriptors function (draft version)

This commit is contained in:
Alexey Spizhevoy
2010-11-17 17:10:23 +00:00
parent 2d01558479
commit 8adc62016b
3 changed files with 70 additions and 24 deletions

View File

@@ -423,11 +423,13 @@ void classify_hists(int win_height, int win_width, int block_stride_y, int block
img_win_width, img_block_width, win_block_stride_x, win_block_stride_y,
block_hists, coefs, free_coef, threshold, labels);
cudaSafeCall(cudaThreadSynchronize());
}
}
//------------------------------------------------------------
// Gradients computation
template <int nthreads>
__global__ void compute_gradients_8UC4_kernel(int height, int width, const PtrElemStep img,
float angle_scale, PtrElemStepf grad, PtrElemStep qangle)