1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

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

This reverts commit 7e301c5c0e, reversing
changes made to b5e009eb87.
This commit is contained in:
marina.kolpakova
2012-11-13 23:52:18 +04:00
parent be40bd5c74
commit e3c93ad9cf
-3
View File
@@ -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]);