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