Pixel Tracking Methods: Optical Flow Methods

i need this solution too:(,how to get motion vector buffer?