0

is there a way to find out the distance travelled by a robot using Optical Flow? For example, using OpenCV, I'm able to find out the velocity of each pixel between 2 images taken by a camera. However, I don't know where to go with this to find out the corresponding distance travelled by the robot. Can you suggest a way to do this?

My main aim is to do the localization of the robot and for that I need the distance travelled by it between 2 instances.

Karan
  • 11,509
  • 8
  • 34
  • 38
  • 1
    You have already asked this question: [Finding distance travelled by robot using Optical Flow](http://stackoverflow.com/questions/3069144/finding-distance-travelled-by-robot-using-optical-flow "title") – Joel Hoff Jul 06 '10 at 10:45
  • [Jacob's answer](http://stackoverflow.com/questions/3069144/finding-distance-travelled-by-robot-using-optical-flow/3070004#3070004 "title") over on the previous question looks like the right solution path. – Joel Hoff Jul 06 '10 at 10:52

2 Answers2

0

What you are lookig is a SLAM (Simultaneous localisation and mapping) method, that is also used in with feature matching methods using SIFT SURF or FAST. Read e.g. Quantitative Evaluation of Feature Extractors for Visual SLAM for more information.

Josh Crozier
  • 233,099
  • 56
  • 391
  • 304
Tobias Senst
  • 2,665
  • 17
  • 38
0

No, not directly. You can determine distance to objects, and then back calculate distance travelled from there, but it will likely be computationally expensive.

Bradley Powers
  • 717
  • 7
  • 19