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

Moved size restrictions for OpenVX processed images to corresponding cpp files

This commit is contained in:
Vitaly Tuzov
2017-05-25 19:10:21 +03:00
parent 9dc36a1ece
commit 1d62a025b3
8 changed files with 27 additions and 9 deletions
+3
View File
@@ -1942,6 +1942,9 @@ enum
VX_ACCUMULATE_WEIGHTED_OP = 2
};
namespace ovx {
template <> inline bool skipSmallImages<VX_KERNEL_ACCUMULATE>(int w, int h) { return w*h < 120 * 60; }
}
static bool openvx_accumulate(InputArray _src, InputOutputArray _dst, InputArray _mask, double _weight, int opType)
{
Mat srcMat = _src.getMat(), dstMat = _dst.getMat();