How to translate optical flow output into a pixel displacement

4 views (last 30 days)
In the examples based on visiontraffic.avi, each optical flow technique produces outputs with different scales. ScaleFactor is set to 2 to display opticalFlowFarneback results. ScaleFactor is set to 60 for opticalFlowHS. ScaleFactor is set to 10 for opticalFlowLK.
What is the way to convert the flow values into an accurate pixel displacement?

Answers (0)

Community Treasure Hunt

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

Start Hunting!