Loading...
Searching...
No Matches
cv::optflow::PCAPrior Class Reference
This class can be used for imposing a learned prior on the resulting optical flow. Solution will be regularized according to this prior. You need to generate appropriate prior file with "learn_prior.py" script beforehand. More...
#include <opencv2/optflow/pcaflow.hpp>
Public Member Functions | |
| PCAPrior (const char *pathToPrior) | |
| void | fillConstraints (float *A1, float *A2, float *b1, float *b2) const |
| int | getBasisSize () const |
| int | getPadding () const |
Detailed Description
This class can be used for imposing a learned prior on the resulting optical flow. Solution will be regularized according to this prior. You need to generate appropriate prior file with "learn_prior.py" script beforehand.
Constructor & Destructor Documentation
◆ PCAPrior()
| cv::optflow::PCAPrior::PCAPrior | ( | const char * | pathToPrior | ) |
Member Function Documentation
◆ fillConstraints()
| void cv::optflow::PCAPrior::fillConstraints | ( | float * | A1, |
| float * | A2, | ||
| float * | b1, | ||
| float * | b2 | ||
| ) | const |
◆ getBasisSize()
|
inline |
◆ getPadding()
|
inline |
The documentation for this class was generated from the following file:
- opencv2/optflow/pcaflow.hpp
1.9.6