I am learning unit3 in course “OpenCV for Robotics”. In theory of HOG, I found this point a little confused:
The distance to 40 and 60 is 5 and 15, respectively; therefore, the ratios will be 5/20 and 15/20, so the magnitude assigned will be Gm*1/4 for 40 and Gm*3/4 for 60.
I am confused about: why is it assigned more magnitude to a further direction? It is obviously that 45 is closer to 40. If it is like this, then 41 is only with difference of 1 to 40, they are almost the same direction, but 40 can only be assigned with G_m*1/20 ?
What is actually assigned? The exact direction of 40 degree or 60 degree, or the interval between 40 and 60? According to the rule above, it is the exact direction of 40 or 60 degree that are assigned, not the interval. Then what is the meaning of this histogram? In histogram it is the interval that really counts.
And the contxt sayd 180 is split into 9 bins, then in a complete circle, we should have 18 bins for 360 degree, right? Then why are the arrow-icons only have 10 direction?
Please help with theoredical explanation…