2014-07-11 15:39:12 -0600 | received badge | ● Student (source) |
2014-07-11 10:18:33 -0600 | asked a question | Different result of ocl::HOGDescriptor and cv::HOGDescriptor on OpenCV2.4.9 I am trying to modify a previous cpu program to now gpu version. However, in the previous program, we used cv::HOGDescriptor::compute to get the descriptor, and now I used ocl::HOGDescriptor::getDiscriptors to get the descriptor. However, I compare the two descriptors together, I found that the results are not the same. Actually some dimension are really similar or even equal, but many dimensions really differ a lot. Here is the code. I don't know if it's the problem of algorithm of gpu HOG. Can anyone help me to figure out what's the problem. |