add ocl::min and ocl::max (includes accuracy tests update)

This commit is contained in:
Sebastian Krämer
2013-10-07 15:41:50 +02:00
committed by Sebastian Krmer
parent ae851af648
commit 33df7131ae
5 changed files with 64 additions and 6 deletions

View File

@@ -457,6 +457,14 @@ namespace cv
// supports all data types
CV_EXPORTS void divide(double scale, const oclMat &src1, oclMat &dst);
//! computes element-wise minimum of the two arrays (dst = min(src1, src2))
// supports all data types
CV_EXPORTS void min(const oclMat &src1, const oclMat &src2, oclMat &dst);
//! computes element-wise maximum of the two arrays (dst = max(src1, src2))
// supports all data types
CV_EXPORTS void max(const oclMat &src1, const oclMat &src2, oclMat &dst);
//! compares elements of two arrays (dst = src1 <cmpop> src2)
// supports all data types
CV_EXPORTS void compare(const oclMat &src1, const oclMat &src2, oclMat &dst, int cmpop);