We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpVideo Capture,  Movie Playback,  Vision Libraries › Looking for optical flow (lucas kanade)
Page Index Toggle Pages: 1
Looking for optical flow (lucas kanade) (Read 2555 times)
Looking for optical flow (lucas kanade)
May 21st, 2008, 12:32pm
 
Hi All, I'm needing an optical flow analysis (probably lucas kanade). I've had a search on the forums and web etc but could not find anything - I couldn't even find C code which I could translate to Java. Has anyone seen any floating around? I've just found the maths papers, and would like to avoid trying to understand and code it from scratch if I don't have to Tongue
Re: Looking for optical flow (lucas kanade)
Reply #1 - Jun 9th, 2008, 12:56am
 
I've implemented the Lucas-Kanade optical flow:

A demonstration:
http://binarymillenium.googlecode.com/svn/trunk/processing/opticalflow/svnapplet/index.html

The source file:
http://binarymillenium.googlecode.com/svn/trunk/processing/opticalflow/opticalflow.pde

Also, there is c source code to optical flow (and many other standard machine vision algorithms) in the freely available OpenCV source.
Re: Looking for optical flow (lucas kanade)
Reply #2 - Jun 9th, 2008, 4:16am
 
thanks! will check it out!
Page Index Toggle Pages: 1