added buffered version of gpu::integral function and updated performance test (it still works too slow)

This commit is contained in:
Alexey Spizhevoy
2011-01-31 10:42:33 +00:00
parent 1748f65f54
commit 7a29d96cf4
3 changed files with 22 additions and 12 deletions

View File

@@ -650,6 +650,9 @@ namespace cv
//! supports only CV_8UC1 source type
CV_EXPORTS void integral(const GpuMat& src, GpuMat& sum);
//! buffered version
CV_EXPORTS void integralBuffered(const GpuMat& src, GpuMat& sum, GpuMat& buffer);
//! computes the integral image and integral for the squared image
//! sum will have CV_32S type, sqsum - CV32F type
//! supports only CV_8UC1 source type