Class cv::optflow::PCAPrior#
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.
#include <opencv2/optflow/pcaflow.hpp>Collaboration diagram for cv::optflow::PCAPrior:
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()#
Member Function Documentation#
fillConstraints()#
void cv::optflow::PCAPrior::fillConstraints(
float * A1,
float * A2,
float * b1,
float * b2 )
getBasisSize()#
int cv::optflow::PCAPrior::getBasisSize()
getPadding()#
int cv::optflow::PCAPrior::getPadding()
Member Data Documentation#
c1#
c2#
L1#
L2#
Source file#
The documentation for this class was generated from the following file:
opencv2/optflow/pcaflow.hpp