Detection of second-order structure in optical flow fields