From c844bbdd8243bbed51773038f468a3ca99afe506 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Kr=C3=83=C2=A4mer?= Date: Mon, 7 Oct 2013 15:51:01 +0200 Subject: [PATCH] documentation update for ocl::min and ocl::max --- modules/ocl/doc/matrix_reductions.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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 -- 2.7.4