Commit e3c93ad9 authored by marina.kolpakova's avatar marina.kolpakova

Revert "Merge pull request #141 from jet47/gpu-pyrlk-fix" because this bug appears only in 2.4

This reverts commit 7e301c5c, reversing
changes made to b5e009eb.
parent be40bd5c
......@@ -211,9 +211,6 @@ void cv::gpu::PyrLKOpticalFlow::dense(const GpuMat& prevImg, const GpuMat& nextI
pyrDown(nextPyr_[level - 1], nextPyr_[level]);
}
uPyr_.resize(2);
vPyr_.resize(2);
ensureSizeIsEnough(prevImg.size(), CV_32FC1, uPyr_[0]);
ensureSizeIsEnough(prevImg.size(), CV_32FC1, vPyr_[0]);
ensureSizeIsEnough(prevImg.size(), CV_32FC1, uPyr_[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment