Added initial implementation and test for the GPU version of add, based on NPP. Need to implement for other depths. Also waiting NPP at CMake.

This commit is contained in:
Kirill Kornyakov
2010-09-09 15:34:16 +00:00
parent c1157c8128
commit 01eac6d3e3
3 changed files with 183 additions and 0 deletions

View File

@@ -341,6 +341,10 @@ namespace cv
friend struct StreamAccessor;
};
////////////////////////////// Arithmetics ///////////////////////////////////
CV_EXPORTS void add(const GpuMat& src1, const GpuMat& src2, GpuMat& dst);
////////////////////////////// Image processing //////////////////////////////
// DST[x,y] = SRC[xmap[x,y],ymap[x,y]] with bilinear interpolation.
// xymap.type() == xymap.type() == CV_32FC1