fix documentation warning

This commit is contained in:
Sebastian Krmer
2013-10-08 16:49:20 +02:00
parent 4ffd3fb905
commit 3696174b14
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ ocl::abs
------------------
Returns void
.. ocv:function:: void ocl::absdiff(const oclMat& src, oclMat& dst)
.. ocv:function:: void ocl::abs(const oclMat& src, oclMat& dst)
:param src: input array.

View File

@@ -219,10 +219,10 @@ void cv::ocl::max(const oclMat &src1, const oclMat &src2, oclMat &dst)
/////////////////////////////Abs, Absdiff ////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
void cv::ocl::abs(const oclMat &src1, oclMat &dst)
void cv::ocl::abs(const oclMat &src, oclMat &dst)
{
// explicitly uses use_scalar (even if zero) so that the correct kernel is used
arithmetic_run_generic(src1, oclMat(), Scalar(), oclMat(), dst, ABS, true);
arithmetic_run_generic(src, oclMat(), Scalar(), oclMat(), dst, ABS, true);
}
void cv::ocl::absdiff(const oclMat &src1, const oclMat &src2, oclMat &dst)