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.

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()#

cv::optflow::PCAPrior::PCAPrior(const char * pathToPrior)

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#

Mat cv::optflow::PCAPrior::c1

c2#

Mat cv::optflow::PCAPrior::c2

L1#

Mat cv::optflow::PCAPrior::L1

L2#

Mat cv::optflow::PCAPrior::L2

Source file#

The documentation for this class was generated from the following file: