views:

34

answers:

0

how to display velocity vectors of different pixels of a image over the image. what i have is a array of vectors( vx and vy for each pixel). now i want to display velocity vectors(by arrows of corresponding magnitude and direction). i need to know how to use the velocity vector data( 2 arrays vx and vy) to a graph/chart/image showing arrows. this is for displaying the output of optical flow(image processing)