Creates an instance of PCAFlow
obj = cv.OpticalFlowPCAFlow()
obj = cv.OpticalFlowPCAFlow('OptionName',optionValue, ...)
Options
- Prior Learned prior or no prior (default). Specified as a
path to prior. This instantiates a class 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.
- BasisSize Number of basis vectors. default [18,14]
- SparseRate Controls density of sparse matches.
default 0.024
- RetainedCornersFraction Retained corners fraction.
default 0.2
- OcclusionsThreshold Occlusion threshold. default 0.0003
- DampingFactor Regularization term for solving
least-squares. It is not related to the prior regularization.
default 0.00002
- ClaheClip Clip parameter for CLAHE. default 14