ivanaslamov / hog_sse

Implementation of HoG feature extractor that uses SSE instructions.
MIT License
45 stars 27 forks source link

How to concatenate the features? #2

Open anusharao55 opened 7 years ago

anusharao55 commented 7 years ago

I was just trying to understand the output. I get 16 bins (/histograms) at the end right? how should I go about concatenating them to form one feature vector that could be used as an input to an SVM>

ivanaslamov commented 7 years ago

This code is very heavily optimized to generate set of 16 images (one per each histogram bin) for a given source image.

I think after this line finish executing : https://github.com/ivanaslamov/hog_sse/blob/master/hog_sse.cpp#L297

the dst should contain the values you are looking for: https://github.com/ivanaslamov/hog_sse/blob/master/hog_sse.cpp#L205

try it on a small image to test and check output.