Class PCAPrior
- Namespace
- OpenCvSharp.OptFlow
- Assembly
- OpenCvSharp.dll
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 an appropriate prior file with the "learn_prior.py" script beforehand.
public class PCAPrior : CvPtrObject, IDisposable
- Inheritance
-
PCAPrior
- Implements
- Inherited Members
Constructors
- PCAPrior(string)
Loads a learned prior from the given file.
Properties
- BasisSize
Number of basis vectors (derived from the loaded prior).
- Padding
Padding size (derived from the loaded prior).