From: Kaoutar on
Hello,

I would like to apply histogram of gradient (HOG) algorithm to optical flow output (calculated between two frames), the HOG, allows extracting information from a matrix and the result is a vector which can be further processed. My problem is that, the results of the optical flow is constituted of two matrices (both are of size (nxm)) indicating the direction of motion in both x and y direction, but i need to represent them as only one matrix in both directions, and then apply the HOG algorithm to this matrix.. so is there any possibility to combine beween the two matrices in such a way that it represent the optical flow matrix between the two frames, or is there any other solution for that?? please let me know if you have any ideas, hoping to hear from you.
Thank you in advance!!
Kaoutar.