Pixel tracking and motion estimation code?
3 views (last 30 days)
Show older comments
Hello,
I am a beginner and this is what I want to do : From a recorded video, I would like to track a pixel(s) and extract its velocity over the time. I know I have to use the optical flow method (HS) to define the velocity field, but how to define it for a moving pixel (and not a xy location)? How to extract its value over the time?
Does anyone has a similar code to propose?
Thank you
0 Comments
Answers (1)
Image Analyst
on 2 Apr 2014
Optical flow is good where the whole scene kind of morphs like if you want to track clouds or plants swaying in the breeze. Object based methods are good if you're tracking things like isolated objects (cars, balls, people, etc.) and most of the scene changes little. The Computer Vision System Toolbox has tracking tools to help you.
2 Comments
Image Analyst
on 2 Apr 2014
I have not used optical flow, or the Computer Vision System Toolbox, so I can't help you. You can call the Mathworks for help with the toolbox if you can't get their demos to work. I don't believe there is any optical flow functionality built in to any of the Toolboxes, so you're on your own there.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!