added blendLinear into gpu module

This commit is contained in:
Alexey Spizhevoy
2011-04-08 05:21:47 +00:00
parent 110351d3de
commit 6cec5ff552
4 changed files with 319 additions and 0 deletions

View File

@@ -786,6 +786,11 @@ namespace cv
//! computes the proximity map for the raster template and the image where the template is searched for
CV_EXPORTS void matchTemplate(const GpuMat& image, const GpuMat& templ, GpuMat& result, int method);
//! performs linear blending of two images
//! to avoid accuracy errors sum of weigths shouldn't be very close to zero
CV_EXPORTS void blendLinear(const GpuMat& img1, const GpuMat& img2,
const GpuMat& weights1, const GpuMat& weights2, GpuMat& result);
////////////////////////////// Matrix reductions //////////////////////////////