1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

add ocl::abs

This commit is contained in:
Sebastian Krämer
2013-10-08 15:16:30 +02:00
committed by Sebastian Krmer
parent c844bbdd82
commit 4ffd3fb905
5 changed files with 49 additions and 3 deletions
+4
View File
@@ -473,6 +473,10 @@ namespace cv
// supports all data types
CV_EXPORTS void transpose(const oclMat &src, oclMat &dst);
//! computes element-wise absolute values of an array (dst = abs(src))
// supports all data types
CV_EXPORTS void abs(const oclMat &src, oclMat &dst);
//! computes element-wise absolute difference of two arrays (dst = abs(src1 - src2))
// supports all data types
CV_EXPORTS void absdiff(const oclMat &src1, const oclMat &src2, oclMat &dst);