1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43: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
@@ -1267,6 +1267,9 @@ private:
#ifdef HAVE_OPENVX
namespace cv
{
namespace ovx {
template <> inline bool skipSmallImages<VX_KERNEL_HISTOGRAM>(int w, int h) { return w*h < 2048 * 1536; }
}
static bool openvx_calchist(const Mat& image, OutputArray _hist, const int histSize,
const float* _range)
{