implemented gpu::addWeighted

This commit is contained in:
Vladislav Vinogradov
2011-09-21 08:58:54 +00:00
parent 64119dd924
commit 0aaaad1ea8
5 changed files with 943 additions and 16 deletions

View File

@@ -593,6 +593,10 @@ namespace cv
//! computes per-element maximum of array and scalar (dst = max(src1, src2))
CV_EXPORTS void max(const GpuMat& src1, double src2, GpuMat& dst, Stream& stream = Stream::Null());
//! computes the weighted sum of two arrays
CV_EXPORTS void addWeighted(const GpuMat& src1, double alpha, const GpuMat& src2, double beta, double gamma, GpuMat& dst,
int dtype = -1, Stream& stream = Stream::Null());
////////////////////////////// Image processing //////////////////////////////