From: Sebastian Krämer Date: Mon, 7 Oct 2013 13:51:01 +0000 (+0200) Subject: documentation update for ocl::min and ocl::max X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1314^2~948^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c844bbdd8243bbed51773038f468a3ca99afe506;p=platform%2Fupstream%2Fopencv.git documentation update for ocl::min and ocl::max --- diff --git a/modules/ocl/doc/matrix_reductions.rst b/modules/ocl/doc/matrix_reductions.rst index 4bedb94..41161d8 100644 --- a/modules/ocl/doc/matrix_reductions.rst +++ b/modules/ocl/doc/matrix_reductions.rst @@ -23,6 +23,32 @@ Returns the number of non-zero elements in src Counts non-zero array elements. Supports all data types. +ocl::min +------------------ + +.. ocv:function:: void ocl::min(const oclMat &src1, const oclMat &src2, oclMat &dst) + + :param src1: the first input array. + + :param src2: the second input array, must be the same size and same type as ``src1``. + + :param dst: the destination array, it will have the same size and same type as ``src1``. + +Computes element-wise minima of two arrays. Supports all data types. + +ocl::max +------------------ + +.. ocv:function:: void ocl::max(const oclMat &src1, const oclMat &src2, oclMat &dst) + + :param src1: the first input array. + + :param src2: the second input array, must be the same size and same type as ``src1``. + + :param dst: the destination array, it will have the same size and same type as ``src1``. + +Computes element-wise maxima of two arrays. Supports all data types. + ocl::minMax ------------------ Returns void