added buffered version of norm, updated performance sample and docs

This commit is contained in:
Alexey Spizhevoy
2011-02-01 10:46:19 +00:00
parent 3795142604
commit 16e74ab306
4 changed files with 32 additions and 11 deletions

View File

@@ -750,9 +750,14 @@ namespace cv
//! computes norm of array
//! supports NORM_INF, NORM_L1, NORM_L2
//! supports only CV_8UC1 type
//! supports all matrices except 64F
CV_EXPORTS double norm(const GpuMat& src1, int normType=NORM_L2);
//! computes norm of array
//! supports NORM_INF, NORM_L1, NORM_L2
//! supports all matrices except 64F
CV_EXPORTS double norm(const GpuMat& src1, int normType, GpuMat& buf);
//! computes norm of the difference between two arrays
//! supports NORM_INF, NORM_L1, NORM_L2
//! supports only CV_8UC1 type