centroid of optical flow vector field