First time here? Check out the FAQ!
answered 2017-02-20 07:12:47 -0600
This solved it:
const Point2f& flowatxy=flow.at<Point2f>( pt1.y+y , pt1.x+x );