Transform hog descriptor from Matlab to Java OpenCV
6 次查看(过去 30 天)
显示 更早的评论
I have some codes which written in Matlab, and I want to convert them into Java OpenCV, to be suitable for Android devices. In Matlab code, I use extractHOGFeatures which is a function in the computer vision toolbox to extract the hog vector.While I use HOGDescriptor class in OpenCV to extract the hog vector. However, the output vector from both is different from each other. I try to understand the problem and what I found are: the block size, the cell size, the block overlap and the number of bins are the same in both vectors that obtained from extractHOGFeatures (Matlab) and HOGDescriptor class(OpenCV). But the size of sliding window in OpenCV is 64*128. While in Matlab I can not determine what is the default size of the sliding window even when I access the documentary of the function. Can anybody help me how I can obtain the same output? I need OpenCV modification, not Matlab since in my project situation I can not change the Matlab code
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!