'Set histogram of size surf descriptors

I'm trying to compute a motion histogram of the region around surf descriptor, and i don't know if there is a method to compute the size of the histogram (how many bins) and the size of the patch (the region of the neighborhood around the interest point)?
Is there any relation between the surf scale and the histogram?

Thanks a lot



Solution 1:[1]

Size(number of bins) of the motion histogram is always the same - number of the directions you divide motion. You specify it.

Scale is one of the parameters of the detected SURF keypoint, you can simply access it. About relation -it is the same question as "is there any relation between size of the patch and its movement?". Depends on your data.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 old-ufo