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>
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.
cv::optflow::PCAPrior::PCAPrior |
( |
const char * |
pathToPrior | ) |
|
void cv::optflow::PCAPrior::fillConstraints |
( |
float * |
A1, |
|
|
float * |
A2, |
|
|
float * |
b1, |
|
|
float * |
b2 |
|
) |
| const |
int cv::optflow::PCAPrior::getBasisSize |
( |
| ) |
const |
|
inline |
int cv::optflow::PCAPrior::getPadding |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: