I want to combine Histogram of oriented gradients and Local Binary Pattern using Support Vector Machine. But, the features are of different dimensions. How can I combine them?
I want to combine Histogram of oriented gradients and Local Binary Pattern using Support
Share
nikie’s comment above is correct: you can just concatenate the features. So for each data point(image), the feature vector will look like this:
[HOG1, HOG2, …, HOG4608, LBP1, LBP2, …, LBP7424]
where HOGn is the n-th feature in the HOG features etc.
Your dataset will then be of size (no of images, 4608+7424).