fix videostab module compilation

This commit is contained in:
Vladislav Vinogradov
2014-12-31 15:36:51 +03:00
parent 03ae1e5aae
commit 62f8240b00
2 changed files with 27 additions and 13 deletions

View File

@@ -121,7 +121,7 @@ public:
cuda::GpuMat &status);
private:
cuda::PyrLKOpticalFlow optFlowEstimator_;
Ptr<cuda::SparsePyrLKOpticalFlow> optFlowEstimator_;
cuda::GpuMat frame0_, frame1_, points0_, points1_, status_, errors_;
};
@@ -136,7 +136,7 @@ public:
OutputArray errors);
private:
cuda::PyrLKOpticalFlow optFlowEstimator_;
Ptr<cuda::DensePyrLKOpticalFlow> optFlowEstimator_;
cuda::GpuMat frame0_, frame1_, flowX_, flowY_, errors_;
};