added patch error calculation to gpu::PyrLKOpticalFlow

This commit is contained in:
Vladislav Vinogradov
2012-03-05 10:36:57 +00:00
parent 27ecc999cb
commit ec5bdc7de8
5 changed files with 143 additions and 38 deletions

View File

@@ -1817,6 +1817,7 @@ public:
derivLambda = 0.5;
useInitialFlow = false;
minEigThreshold = 1e-4f;
getMinEigenVals = false;
}
void sparse(const GpuMat& prevImg, const GpuMat& nextImg, const GpuMat& prevPts, GpuMat& nextPts,
@@ -1830,6 +1831,7 @@ public:
double derivLambda;
bool useInitialFlow;
float minEigThreshold;
bool getMinEigenVals;
void releaseMemory()
{