mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Extended set of OpenVX HAL calls disabled for small images
This commit is contained in:
@@ -1074,6 +1074,9 @@ namespace
|
||||
if(prevImgMat.type() != CV_8UC1 || nextImgMat.type() != CV_8UC1)
|
||||
return false;
|
||||
|
||||
if (ovx::skipSmallImages<VX_KERNEL_OPTICAL_FLOW_PYR_LK>(prevImgMat.cols, prevImgMat.rows))
|
||||
return false;
|
||||
|
||||
CV_Assert(prevImgMat.size() == nextImgMat.size());
|
||||
Mat prevPtsMat = _prevPts.getMat();
|
||||
int checkPrev = prevPtsMat.checkVector(2, CV_32F, false);
|
||||
|
||||
Reference in New Issue
Block a user