|
ACT-CV - Machine Vision for Cognitive Modeling
|
Calculate the optical flow using OpenCV. More...
#include <mhexcptn.h>#include <vector>#include <cmath>#include <boost/math/special_functions/fpclassify.hpp>#include <statistiken.h>#include <linien/linien.h>#include "OpticalFlow.h"
Go to the source code of this file.
Macros | |
| #define | _USE_MATH_DEFINES |
| #define | PIX_ABSTAND 5 |
| #define | OFFSET 50 |
| #define | TRMEAN_MARGIN 3 |
| #define | IMG_MARGIN 30 |
| #define | XGRID 3 |
| #define | YGRID 3 |
| #define | VERSCHIEBUNG 90.0 |
| #define | FOCUS_CROSS_LWIDTH 3 |
Calculate the optical flow using OpenCV.
Definition in file OpticalFlow.cpp.
| #define _USE_MATH_DEFINES |
Definition at line 34 of file OpticalFlow.cpp.
| #define FOCUS_CROSS_LWIDTH 3 |
Definition at line 345 of file OpticalFlow.cpp.
Referenced by OpticalFlow::PrintFocus().
| #define IMG_MARGIN 30 |
Definition at line 84 of file OpticalFlow.cpp.
Referenced by OpticalFlow::GetXMax(), OpticalFlow::GetXMin(), OpticalFlow::GetYMax(), OpticalFlow::SelectFeatures(), OpticalFlow::SetFocus(), and OpticalFlow::SetSize().
| #define OFFSET 50 |
Definition at line 82 of file OpticalFlow.cpp.
Referenced by OpticalFlow::SelectFeatures().
| #define PIX_ABSTAND 5 |
Definition at line 81 of file OpticalFlow.cpp.
Referenced by OpticalFlow::SelectFeatures().
| #define TRMEAN_MARGIN 3 |
Definition at line 83 of file OpticalFlow.cpp.
Referenced by OpticalFlow::PrintInfo().
| #define VERSCHIEBUNG 90.0 |
atan2 returns the angle in [-pi,pi]
In this application, the angles typically are in the areas around 0, -pi, and pi.
In order to be able to use a normal average, the angles around pi and -pi should be wrapped to the same "side". This is done with VERSCHIEBUNG.
Definition at line 168 of file OpticalFlow.cpp.
Referenced by OpticalFlow::GetWinkel().
| #define XGRID 3 |
Referenced by OpticalFlow::SelectFeatures().
| #define YGRID 3 |
Referenced by OpticalFlow::SelectFeatures().