Is it possible to make HoG scale invariant?

asked 2016-03-22 09:18:00 -0600

bob409 gravatar image

I was wondering if its possible to make hog features scale invariant by using a normalization method?

edit retag flag offensive close merge delete

Comments

1

What do you mean by scale invariant? This is a histogram, so it is by definition.

Mathieu Barnachon gravatar imageMathieu Barnachon ( 2016-03-22 10:01:40 -0600 )edit

I did not knew HoG was scale invariant. By scale invariant, I mean that for example I trained an object Object_1 of size A when i am testing an object of size 2*A. Will it classify it as Object_1?

bob409 gravatar imagebob409 ( 2016-03-22 13:34:05 -0600 )edit

For geometrical scale invariance you have to resize your region to a specific size otherwise you can get a different number of features from HoG. Use cv::resize with a fixed size for this.

matman gravatar imagematman ( 2016-03-22 15:14:19 -0600 )edit

I shold resize the ROI, that is I put a bounding box over it, crop it and then resize it to a specific size.

bob409 gravatar imagebob409 ( 2016-03-22 19:11:25 -0600 )edit