Estimating the X and Y coordinates from optical flow method

1 view (last 30 days)
Hi, I am trying to detect moving objects to obatin their corresponding X and Y coordinates from a video. I was using 'opticFlow' algorithm for this process. I am unable to understand on how to extract the X and Y coordinates from the velocity field which the function 'estimateFlow' returns. Any help to solve this will be appreaciated.
flow = estimateFlow(opticFlow,frameGray);
  2 Comments
Jason Gauthier
Jason Gauthier on 24 Jan 2020
Did you get anywhere with this? In order to obtain the position, you'll probably want to integrate. The challenge is knowing how far away something is, and your current speed. If you're moving slow, even a close object will appear to move fast. This is a challenge I am trying to overcome as well.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!