Repository navigation
Conversation
|
@sdsingh Are the results comparable? Do they look similar when vizualised? |
|
Compared to the gray computation of HOG, the color computation appears reasonable, with some gradients visually a bit stronger, as expected. Comparing to MATLAB, however, has been a bit difficult. It seems that MATLAB follows a similar rescaling of intensity values, just like the HOG demo (http://scikit-image.org/docs/dev/auto_examples/plot_hog.html). So, I used the same rescaling process as the HOG demo to obtain: These appear to be visually similar, although due to MATLAB's fancy plotting abilities, the MATLAB image is a bit easier to inspect. I checked the sums of the respective Histogram values returned by each function. They differ drastically, so I tried normalizing by these sums, to no avail. Curious, I plotted the actual histograms, which seem to differ drastically, in a nonlinear way. |
|
This implementation is not in line with the paper. |




I wrote a test case benchmarking against matlab, however the results do not match.
I was unable to find good images to test against elsewhere (despite consulting some friends who have also implemented color HOG).
If anyone has other ideas for testing the color behavior, I'm all ears!