added docs for gpu::HOGDescriptor

This commit is contained in:
Alexey Spizhevoy
2011-01-12 13:07:33 +00:00
parent 073a8a6f27
commit 4e23f37ff8
4 changed files with 123148 additions and 120768 deletions

View File

@@ -252,6 +252,7 @@ void cv::gpu::HOGDescriptor::getDescriptors(const GpuMat& img, Size win_stride,
void cv::gpu::HOGDescriptor::detect(const GpuMat& img, vector<Point>& hits, double hit_threshold,
Size win_stride, Size padding)
{
CV_Assert(img.type() == CV_8UC1 || img.type() == CV_8UC4);
CV_Assert(padding == Size(0, 0));
hits.clear();