【正文】
ion to OpenCV David Stavens Stanford Artificial Intelligence Lab Aside: Histogram Equalization Images are from Wikipedia. Today we’ll code: A fully functional sparse optical flow algorithm! Plan ? OpenCV Basics ? What is it? ? How do you get started with it? ? Feature Finding and Optical Flow ? A brief mathematical discussion. ? OpenCV Implementation of Optical Flow ? Step by step. What is OpenCV? ? Created/Maintained by Intel. ? Really four libraries in one: ? “CV” – Computer Vision Algorithms ? All the vision algorithms. ? “CVAUX” – Experimental/Beta ? “CXCORE” – Linear Algebra ? Raw matrix support, etc. ? “HIGHGUI” – Media/Window Handling ? Read/write AVIs, window displays, etc. ? Check out the samples directory! Installing OpenCV ? Download from: ? ? Be sure to get Version . ? Windows version es with an installer. ? Linux: (Install ffMPEG first!) ? gunzip 。 tar –xvf ? cd 。 make ? make install [as root] Copy all the DLLs in \OpenCV\bin to \WINDOWS\System32. Tell Visual Studio where the includes are. (Import a C file first.) Tell Visual Studio to link against , , and . Tell Visual Studio to disable managed extensions. Better Performance: ICC and IPL ? Intel C/C++ Compiler ? Intel Integrated Performance Primitives ? ~30 – 50% Speed Up Plan ? OpenCV Basics ? What is it? ? How do you get started with it? ?